Vous êtes sur la page 1sur 17

NNNNNNeeeeeetB tB tB tB tB tBSD SD SD SD SD SD 555555......

000000
Introducing NetBSD 5.0
Andrew Doran
ad@netbsd.org
WWWWWWhhhhhhaaaaaatttttt iiiiiissssss Ne Ne Ne Ne Ne NettttttBS BS BS BS BS BSDDDDDD??????

A mature Unix!i"e o#erating s$stem.

%ocus areas&

Ser'er( embedded( and hobb$ a##!ications.

Sca!ing& )rom mobi!e #hones to !arge ser'ers.

*ro'iding a #!at)orm )or education and research.

De'e!o#ment coordinated b$ one o) the )irst tru!$ co!!aborati'e
+#en Source #ro,ects to emerge on the net.
WWWWWWhhhhhhaaaaaatttttt iiiiiissssss Ne Ne Ne Ne Ne NettttttBS BS BS BS BS BSDDDDDD 555555......000000??????

-he )irst NetBSD re!ease to see )u!!time de'e!o#ment )unded b$
donations.

-he !argest set o) changes to the "erne! since the ince#tion o)
the #ro,ect.

A se'en mi!!ion !ine #atch against ..0.

+'er / $ears in de'e!o#ment.
0m 0m 0m 0m 0m 0mbbbbbbeeeeeeddddddddddddeeeeeedddddd ro! ro! ro! ro! ro! ro!eeeeee

An im#ortant mar"et segment that he!#s to dri'e the s$stem1s
de'e!o#ment( so I1!! mention it here.

*o#u!ar because the s$stem sca!es we!!( the #rice and !icense are
right( and it1s eas$ to bui!d u#on.

Bui!d an$ NetBSD #!at)orm )rom an$where with a *+SI2
en'ironment and 34355 com#i!er& )rom So!aris( 6inux( Windows
73$gwin8( ...
$ uname -s -m
Linux i686
$ cd netbsd-src
$ ./build.sh -m sparc64 release
Ne Ne Ne Ne Ne New w w w w w iiiiiinnnnnn 555555......000000

9assi'e #er)ormance im#ro'ements on mu!ticore hardware.

:ourna!ing )i!e s$stem.

*ower management& re!iab!e sus#end and resume.

;obust <&< threading im#!ementation.

*+SI2 rea!time extensions.

*rocessor sets( a))init$( and o))!ine4on!ine.

%u!! "erne! #reem#tion )or rea!time threads.

%i!e s$stems 7inc!uding %US08 running in user s#ace.

9u!ti#rocessor o#timi=ed ma!!oc78 )or a##!ications.
Ne Ne Ne Ne Ne New w w w w w iiiiiinnnnnn 555555......000000 777777ccccccon on on on on onttttttiiiiiinnnnnnuuuuuueeeeeedddddd888888

Integrated 6DA* 7+#en6DA*8.

*+SI2 as$nchronous I4+ and message >ueues.

9odu!ari=ed thread schedu!er.

Writab!e )i!e s$stems on D?Ds 7UD%8.

0xtensi'e bug audit o) core "erne! code.

9an$ new runtime tuneab!es.

And much more@
Ne Ne Ne Ne Ne New w w w w w ))))))or or or or or or wor" wor" wor" wor" wor" wor"ssssssttttttaaaaaattttttiiiiiion on on on on on uuuuuusssssseeeeeers rs rs rs rs rs

%ast boot& A/0 seconds )rom !oader to BD9 !ogin #rom#t on
modern *3s.

Sus#end and resume man$ !a#to#s re!iab!$( e'en mu!ticore.

-hreaded a##!ications can ex#!oit the #ower o) a!! 3*Us. Notab!e
exam#!es& 'ideo and audio transcoding.

Uni)ied "erne! image )or nati'e xCD. -here is now rare!$ an$ need
to com#i!e a custom one.

Se!)o#timi=ing "erne!& no #ena!t$ running on a sing!e 3*U
machine.

2org to re#!ace 2%reeCD.
............ )or )or )or )or )or )or sssssseeeeeerrrrrr''''''ers ers ers ers ers ers aaaaaannnnnndddddd eeeeeemmmmmmbbbbbbeeeeeeddddddddddddeeeeeedddddd aaaaaa############ssssss

*er)ormance and re!iabi!it$ im#ro'ements a!most e'er$where.

Sca!e )rom < to E/ 3*Us with no twea"s on >ua!i)ied wor"!oads.

*artition 3*U resources as needed. 0xam#!e& dedicate 3*Us to
$our rea!time a##!ications.

;ea!time a##!ications ta"e ad'antage o) "erne! #reem#tion 7A5Fs
t$#ica! res#onse on modern xCD8.

6ogging )i!e s$stem& no more waiting )or )i!e s$stem chec"s a)ter
an unschedu!ed s$stem shutdown.
............ )or )or )or )or )or )or ddddddeeeeee''''''eeeeee!!!!!!o# o# o# o# o# o#eeeeeers rs rs rs rs rs aaaaaannnnnndddddd hhhhhhob ob ob ob ob obbbbbbb$$$$$$is is is is is isttttttssssss

9an$ new a##!ication )aci!ities and A*Is. 0xam#!e& So!aris
com#atib!e atomic o#erations( with the same A*I in both "erne!
and users#ace.

Nati'e :a'a on iECD and soon amdD..

cc mE/& de'e!o# and test E/ bit a##!ications on D.bit hosts.

0xtensi'e u#dates to the "erne! #rogramming guide Gsection HI
o) the s$stem manua!.

A-%& the Automated -esting %ramewor"( )or unit tests.

Better insight into how the s$stem is #er)orming and o#erating(
with new too!s such as !oc"stat 7"erne! !oc" statistics8( t#ro)
7#er)ormancecounter based "erne! #ro)i!ing8( and mini crash
dum#s on iECD 7no more .BB "erne! crash dum#s8.
Be Be Be Be Be Bennnnnncccccchhhhhhmmmmmmaaaaaar" r" r" r" r" r"ssssss

-o i!!ustrate #er)ormance im#ro'ements in 5.0.

;e!ease 'ersions o) each +S insta!!ed and are&

Gout o) the boxI( with no twea"ing.

using handcom#i!ed so)tware where im#ortant )or )airness.

using simi!ar )i!e s$stem con)igurations& .BB 4!oca! with
,ourna!ing or so)t u#dates( tm#)s 4tm#

using identica! a##!ication con)igurations

Jour resu!ts ma$ di))er( terms and conditions a##!$( etc.
Be Be Be Be Be Bennnnnncccccchhhhhhmmmmmmaaaaaar" r" r" r" r" r"&&&&&& hhhhhhaaaaaacccccc""""""bbbbbbeeeeeennnnnncccccchhhhhh

-ests e))icienc$ and sca!abi!it$ o) the schedu!er and I*3
mechanisms.

3reated b$ and #o#u!ar with 6inux "erne! de'e!o#ers.

0x#oses #rob!ems with S9* sca!ing( and with high numbers o)
acti'e tas"s.
BBBBBBen en en en en encccccchhhhhhmmmmmmaaaaaarrrrrr""""""&&&&&& 9$S 9$S 9$S 9$S 9$S 9$SKKKKKK6 6 6 6 6 6 ssssss$s $s $s $s $s $sbbbbbbeeeeeennnnnncccccchhhhhh

Simu!ates an +6-* st$!e wor"!oad.

-ests e))icienc$ and sca!abi!it$ o) #thread !ibrar$( ma!!oc78( the
schedu!er and I*3 mechanisms( among others.

Used extensi'e!$ during de'e!o#ment o) 5.0.

;un here in readon!$ con)iguration& write #er)ormance o) the
DB9S and dis" subs$stem is a !imiting )actor we are not
interested in )or this #articu!ar test.

m$.cn) a'ai!ab!e on re>uest.
Be Be Be Be Be Bennnnnncccccchhhhhhmmmmmmaaaaaar" r" r" r" r" r"&&&&&& bbbbbbuuuuuuiiiiii!!!!!!dddddd......sssssshhhhhh

NetBSD1s bui!d s$stem.

A Gso)tware de'e!o#mentI wor"!oad.

A!! too!s bootstra##ed& com#i!er( binuti!s( ma"e( etc. -he on!$
host too! that sees extensi'e use is 4bin4sh.

In this test( a hand bui!t gcc is used to bootstra# 7)or )airness8.

9easures time ta"en to bui!d a re!ease o) NetBSD in seconds&
sma!!er is better.

%edora exce!s due to massi'e in'estment in im#ro'ing e))icienc$
and sca!abi!it$ o) 6inux o'er the !ast )ew $ears. +ur hats are o))
to the BNU46inux4%edora de'e!o#ers.

We want to re'erse the #osition with D.0.
Gbui!d.sh , <D m iECD re!easeI( C core 2eon 05E/0
-ime in seconds
------hhhhhheeeeee )u )u )u )u )u )uttttttuuuuuure& re& re& re& re& re& ######os os os os os osssssssiiiiiibbbbbb!!!!!!eeeeee ))))))ea ea ea ea ea eattttttuuuuuure re re re re ressssss ))))))or or or or or or DDDDDD......000000

3oncurrent networ" stac".

/55 core su##ort on xCD.

L%S( Sun1s new )i!e s$stem.

<5 minutes )rom insta!! 3D to des"to# with web and #roducti'it$
a##s.

%urther #er)ormance and sca!abi!it$ im#ro'ements to )i!e and
'irtua! memor$ subs$stems.

9odu!ari=ed "erne! on *3 and ser'er s$stems.

NU9A awareness.

Binar$ #atches and u#grades.

N%S c!ient #er)ormance im#ro'ements.

Vous aimerez peut-être aussi