ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÓëEongµÄ¶Ô»°£¬Gentoo°æ

·¢²¼Ê±¼ä:2008-03-24 10:23:14À´Ô´:ºìÁª×÷Õß:onplans
ÓëEongµÄ¶Ô»°£¬Gentoo°æ©¤©¤Gentoo Linux China×îÊÜ»¶Ó­µÄLinuxÎļþϵͳµ÷²é

ÏÂÎÄÊÇGentoo Linux China×îÊÜ»¶Ó­µÄLinuxÎļþϵͳµ÷²éÖеÄÒ»¶ÎÄÚÈÝ£¬Ï£ÍûÌṩ¸ø¸ÕʹÓÃLinux²»¾ÃµÄÐÖµÜÒÔ×ö½è¼ø£¬²¢´ÓÖÐÊÜÒæ¡£

Ê×Ñ¡SGIµÄXFSÎļþϵͳ£¬ÓÃÁ˶þÄê¶àIRIX6¡£¸÷Óи÷µÄÌØµã£¬¸Ð¾õXFS¸üÎȶ¨Ð©¡£±Ø¾¡ÊÇÓÐ20¶àÄêÀúÊ·µÄÎļþϵͳ¡£Ä¿Ç°¾ßÓÐ512¸ö Itanium 2оƬµÄSGI AltixϵͳµÄ³¬¼¶Linux¼ÆËã»ú·¢»Ó×î¼ÑµÄTriad´ø¿í¡££¬¿É´ïµ½1TB/sµÄ¼Ç¼¡£ÏÖλÓÚNASAʵÑéÊÒ£¬Ö÷ÒªÓÃÓŲ́·çÔ¤¾¯·ÖÎö¼ÆË㣬¾ß×îÐÂͳ ¼ÆSGI¿É´ïµ½42.7TB/s£¬ÔÚÈç´Ë¸ßµÄËÙ¶ÈÏÂÓëXFSÊÇ·Ö²»¿ªµÄ¡£ÔÚÎļþϵͳ·½ÃæXFSÒ»Ïò±»ÊÓΪ¿ÆÑ§Ñо¿ÁìÓò×î¿É¿¿¼ÆËã»úÎļþϵͳ¡£

×÷Õß: Eong
´ó¼Ò¿´¿´love-sourcesÒý·¢µÄÎļþϵͳµÄÌÖÂÛºÍËûÃÇ×öµÄʵ¼Ê²âÊÔµÄÊý¾Ý°É¡£×îÖÕ×ÀÃæÓû§»¹ÊÇÍÆ¼öext3,ÊÇÓÅ»¯¹ýµÄext3¡£Love-sources ÓмÓÈëÕâ¸ö²¹¶¡¡£

×÷Õß: Eong
ÕâÊÇËûµÄÔ­»°
Okay, I'm interested in better interactivity, I can resign from using reiser4 for this.
Now I'm using other filesystems (we recommend you use ext3+dir_index).

×÷Õß: Eong
1) You must understand that _PURE_ speed of filesystem isnt all there are also other aspects for example like latencies , cpu usage and even "some kind of fs preempting".
2) Just look at Ingo Molnar's many of (latency) fixes for EXT* filesystem . Why He doesnt doing it for reiser* ( just an rethoric question )
3) EXT3 isnt a extremal fs like reisefs who are GOOD in some aspect and BAD in other. EXT3 just is AVERAGE in every aspect. not winning in some and loosing in others , its just average in every . this thing making a good balance for overall using. Reiserfs is faster at some apects but is the worst at other apects. Just is no any magic in the wold . and ther is no BEST fs for all . there is also no remedium for the world
ext* family is most average , reiser* is extremly good and bad at once. xfs and jfs are bad and good without this extremly prefix hehe.


×÷Õß: Eong
Version 1.93c ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
reiser4 496M 83 98 33536 23 17221 20 120 99 25225 32 185.8 10
reiser3 496M 167 99 33760 28 16974 13 594 99 38790 17 191.4 7
jfs 496M 399 97 34165 19 17232 10 636 98 38967 14 192.5 5
xfs 496M 228 98 35612 20 16558 12 416 98 39085 16 116.1 3
ext3 496M 139 99 33906 33 16618 13 551 98 38555 15 187.8 6

reiser4-lat 157ms 2749ms 874ms 76953us 10684us 3401ms
reiser3-lat 64610us 1231ms 226ms 23227us 22063us 963ms
jfs-lat 24487us 655ms 160ms 42963us 99906us 708ms
xfs-lat 39552us 1954ms 159ms 47486us 35691us 554ms
ext3-lat 67131us 1215ms 249ms 48126us 99742us 798ms

Version 1.93c ------Sequential Create------ --------Random Create--------
Enterprise -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
reiser4 16 17829 90 +++++ +++ 8190 98 8174 95 +++++ +++ 8307 98
reiser3 16 11570 89 +++++ +++ 10999 98 11402 91 +++++ +++ 9970 98
jfs 16 3569 16 +++++ +++ 2177 11 1349 17 +++++ +++ 1023 9
xfs 16 2461 35 +++++ +++ 2203 27 2429 35 +++++ +++ 884 13
ext3 16 816 98 +++++ +++ 24692 77 780 97 +++++ +++ 2256 96

reiser4-lat 2820us 8955us 9138us 2976us 127us 3365us
reiser3-lat 8458us 3623us 4707us 3648us 134us 2846us
jfs-lat 61168us 1374us 182ms 248ms 134us 1491ms
xfs-lat 118ms 291us 119ms 108ms 215us 135ms
ext3-lat 37327us 205us 2779us 36279us 1161us 65357us


ext2 ext3 jfs xfs reiser3 reiser4
1 Create 10.000 files into a dir 14,950 21,473 12,144 12,756 11,278 11,642
2 Run find on that dir 00,013 00,069 00,054 00,050 00,061 00,101
3 Remove that dir 00,078 00,231 00,905 01,750 00,407 00,741
4 Create 10.000 dirs 26,667 24,928 12,001 12,863 11,098 11,870
5 Run find on that dir 00,171 00,191 00,291 00,165 00,365 00,260
6 Remove the whole dir 00,403 01,188 01,652 01,447 11,230 30,898
7 Copy kernel tar from other disk 01,965 02,018 01,999 01,974 01,982 01,968
8 Copy kernel tar to other disk 00,983 00,928 00,922 00,785 00,969 00,944
9 Untar kernel 34,229 36,182 36,251 37,182 36,946 38,743
10 Tar kernel 26,639 25,859 26,824 25,806 25,942 26,569
11 Remove kerlnel source dir 00,270 00,544 04,377 01,771 01,170 02,351
12 Copy kernel tarball 10 times 19,772 20,311 18,882 19,094 20,710 17,703
13 Create 1gb from /dev/zero 23,572 25,038 26,052 22,615 25,038 23,650
14 Copy the 1gb file same disk 50,427 53,003 88,937 48,297 59,869 48,254
15 Split 10mb file 1000 byte pcs 05,769 07,939 03,477 04,262 01,390 01,140
16 Split 10mb file 1024 byte pcs 04,992 09,878 03,367 03,750 01,240 00,836
17 Split 10mb file 2048 byte pcs 01,482 02,096 01,360 01,942 00,752 00,546
18 Split 10mb file 4096 byte pcs 00,494 00,624 00,548 00,995 00,357 00,414
19 Split 10mb file 8192 byte pcs 00,229 00,278 00,347 00,510 00,257 00,310
20 Copy kernel tree same disk 08,233 19,462 23,082 19,657 27,548 14,530
21 Cat 1gb to /dev/null 22,315 22,321 22,170 22,227 24,886 22,834

×÷Õß: Eong
and notice also this thing :

is a difference if copying a kernel dir can take You a 3 seconds more if time of it is around ~20 secs ?
for me this is no diffence .
the ne xt question ?
if this 3 seconds bennefit is worh of loss interactivity and cpu usage ?


ÎÒÏëÊÇÕë¶Ô¸öÈËÇé¿ö¶øÑÔ£¬ÔÚʵ¼ÊʹÓÃÖУ¬ÎÒÔøÔÚReiserfsºÍExt3϶¼ÔÔ¹ý¡£²»¹ýÒ»°ãÐÔµÄʹÓÃEXT2¡¢EXT3¡¢reisefts¡¢XFS¶¼ÐУ¬´ó²»ÁË֨װ¾Í¿ÉÒÔÀ²£¬ÔÚÕâÒ»·½ÃægentooÊ×ϯִÐй٣¬Ò²×ö¹ýÒÔÉÏÎļþϵͳµÄ¼¼Êõ·ÖÎö±È½Ï¡£

ÔçÄêÔÚʹÓÃslackware9.1ʱ£¬¾Í³öÏÖ¹ýÔÚÆô¶¯Ê±ÎÞ·¨ÕÒÖÁreiserfs·ÖÇø£¬Ìáʾ·ÖÇø±íË𻵲»ÄܹÒÔØµÄÇé¿ö£¬ÀàËÆÎÊÌâÓÐÁ½´Î£¬ÎÒ×Ô¼º¿É²»»á°Ñ ϵͳ¸ø¸ñÁ˰ɣ¬ÏµÍ³Öл¹ÓÐÐí¶à¸øÐÅÓÃÉ罨µÄ¿Í»§Êý¾Ý±í£¿µ±È»slackware8ÒÔǰ´ÓûÕâÖÖÇé¿ö£¬Òòslackware²»Ö§³Öϵͳ¹ÒÔØXFS·ÖÇø£¬Ê¹Óà XFSÐèÓùâÅÌÒýµ¼£¬SlackwareÒ²Õæ¹»°²È«µÄ£¬ÕâÑùÒ»À´ÔÚ±¾µØÊ¹ÓÃXFSÎļþϵͳûÓйâÅÌÊÇÎÞ·¨½øÈëϵͳµÄ£¬ÔÚslackwareʹÓÃXFSÎļþ ϵͳʱ£¬¾ÍÒâζ×Ų»»áÈ¥¹Ø»ú£¬µ«¸öÈ˲»¿ÉÄÜÕâô×ö¡£ËùÒÔ×Ô¼ºÓþͰÑϵͳ¸ø»»ÁË£¬ÏÖÔÚ»¹ÓеãÁôÁµslackwareµÄ¡£Ext3¾Í²»ÓÃ˵ÁË£¬ÎÒºÍÆäËüºÜ¶àÈË ¶¼Ëµ¹ý£¬ÊÇÑÆ¿Ú»ÆÁ«£¬×ÔÈϵ¹Ã¹¡£

ÒÔÉÏÊý¾Ý±íÃ÷EongµÄÌṩ²âÊÔÊý¾ÝËäÔÚÒ»´ËÇé¿öÏ£¬Êý¶ÈÊÇÓÐËùÌá¸ß£¬ÔÚ×ۺϱȵÄÇé¿öÏÂXFSÈÔÊǽϸߵģ¬ÔÚÕâÒ»²âÊÔÖÐÎÒ¸öÈ˸оõÖ»ÊÇÔÚËÙ¶ÈÉÏËù×ö³öµÄһЩÆÀ²â£¬Ã»Óиü¶àÉæ¼°ÆäËü²¿·Ö ÄÚÈÝ£¬ÈçÈÕÖ¾¼Ç¼¡¢Êý¾Ý»Ö¸´¡¢°²È«Âª¶´µÈ·½Ãæ¡£ÖÚËùÖÜÖª£¬EXT3ÔÚÄ³Ð©ÌØµãµÄÇé¿öÏ£¨ÌرðÊÇСÎļþ£©ËÙ¶ÈÊǽϸߵģ¬Òò´ËÀûÓò¹¶¡³ÌÐòʹEXT3ÔÙ·¢»ÓËÙ ¶ÈÉϵÄÓÅÊÆÊÇ¿ÉÄܵġ£ÁíÍâÔڴ˴βâÊÔÖУ¬Ã»ÓÐÃ÷ȷʹÓõÄÄں˰汾£¬Òò´Ë£¬ÔÚÌØ¶¨Ìõ¼þÏÂÓëÒ»°ã»·¾³»¹ÊÇÓÐÒ»µã²î¾à¡£


×÷Õß: Eong
ºÇºÇ¡£»¶Ó­ÌÖÂÛ
Äں˰汾ÊÇ love-source 2.6.11
ÓвâÊÔ»·¾³£¬ÎÒûÓÐÌù£¬Ò»ÂÉÊÇ×îÐµĶ«¶«
ÀÏÍâ¾ÍÊÇÕâÑù¡£²»ÊÇÒÀ¿¿¸Ð¾õÀ´Ëµ»°µÄ£¬ÊÇ¿´Êµ¼ÊµÄÊý¾ÝºÍ²âÊÔ£¬²»ÊÇ˵ƾ¿Õ¾Í˵Õâ¸öºÃÄǸö²»ºÃ¡£

EongÎÒ˵µÄûÓÐÕë¶ÔÄ㣬Èç¹ûÓÐÏòÄãµÀǸ£¬àÅ£¬ÀÏÍâÊÇÕâÑù£¬ÓÃÊý¾Ý˵»°£¡ÎÒÃǾͲîÕâÒ»µã£¬Ì«?¡£²»¹ý˵ʵ»°ÁË£¬ÓÐʱÎÞ´ÓÏÂÊÖ£¬¶Ôϵͳ½á¹¹¶øÑÔ£¬Ð¡µ½ Îļþϵͳ£¬´óµ½Äں˼°Êý¾Ý½á¹¹¡£¾ÍGNUÈí¼þ¾ÍÓÐ3ÍòÖ®¶à£¬ÊµÔÚû·¨Ò»Ò»Á˽⡣±Ø¾¹²»ÊÇÎÒÃÇËù¿ª·¢µÄ¶«Î÷£¬ºÜ¶à¶«Î÷ÎÒÃÇÊǵ¹¹ýÀ´Ñ§Ï°£¬ÏÈ´ÓÓ¦Óò㿪ʼ©¤©¤ È»ºóÊÇÄ£¿éµÈ£¬ÄѾÍÄÑÔÚÕâÀÈçLinuxÄںˣ¬ÊÇÕû¸öϵͳµÄºËÐIJ¿·Ö£¬¼´Ð­Òé²ã£¬ËüÓɴ˹¹½¨Õû¸öϵͳ£¬IOÖжϡ¢Ó²¼þ¡¢Ö§³Ö¿â£¬Çý¶¯ÒýÇæ¡¢ÍøÂç×é³É¼°Êý ¾Ý½á¹¹µÈ£¬ÕâÊÇ×îÄѵIJ¿·Ö¡£Èç¹ûÖ»ÊÇÉæ¼°µ½Ó¦Óò㣬¾Í¼òµ¥¶àÁË£¬¿ÉË­½ÐÎÒÃÇϲ»¶ÕâЩ¶«Î÷£¬ºÇºÇ£¬ÎÒ²»ÊÇѧÀí¹¤¿ÆµÄ£¬ÏÖÔÚÓÐЩºó»Ú£¬ÏëÉîÈëÉîÈë²»ÏÂÈ¥¡£ÏÖÔÚ ¾õµÃ£¬Linux²»ÊÇÍæ¼¸¸öÍíÉϾÍÄÜѧ»áʲôµÄ¡£Ô­Ò²Ê¹ÓùýºÜ³¤Ò»¶Îʱ¼äµÄÉÌÒµ°æUnixϵͳ£¬µ«´ó²¿·ÖÒ²Ö»ÊÇÔÚϵͳ¹ÜÀí·½Ãæ£¬²»ÐèÒªÉîÈ뵽̫¶àÄں˼°ÎÄ ¼þϵͳÕâ¿é¡£ÓÃÁ˼¸ÄêLinux£¬Ô­ÒÔΪ¶àÉÙÓÐÐíÁ˽⣬µ«´ÓsirÉÏÌá³öµÄÐí¶àСÎÊÌ⣬ȷ¸ÐÒ»ÎÊÈý²»Öª£¬?À¢£¬ÍùÍùÖ»ÄÜÆ¾×Å×Ô¼ºµÄÒ»µã¾­ÑéÈ¥´§Ôò,ºÇºÇ£¬ ˵Õâô¶à·Ï»°ÊÇÓижø·¢£¬ÎÒÔÚÏë¼ÈÈ»ÒѾ­½øÈëÕâÒ»ÁìÓò£¬×ܲ»Äܰë;¶ø·Ï£¬´Ó¸öÈ˶àÄêµÄ¸Ð¾õ¶øÑÔ£¬Ëµ¾äʵ»°£¬Linux²»ÊÇÓÃÓÚÒ»°ãµÄ×ÀÃæÓ¦ÓõÄϵͳ£¬´ÓÒ» ¿ªÊ¼¾Í²»ÊÇ£¬ÒѺóÊDz»ÊDz»Çå³þ£¬µ«ÎÒÏë²»»á£¬¼´±ã°²×°¼°ÉèÖøü¼Ó·½±ã£¬µ«Linux²»Ö»ÊÇÐãÒ»ÐãËüµÄÊÓ´°¹ÜÀíÆ÷¶øÒÑ¡£ÔÚûÓÐ×öºÃ±ØÒª×¼±¸Ê±Ã»±ØÒª×êµ½ LinuxÉÏ£¨ÎÒÏë¶ÔºÜ¶à²»ÊǼÆËã»úרҵµÄÐÂÊÖ˵Õâ¾ä»°£©¡£Èç¹ûÖ»ÊÇÏë¼òµ¥µÄ¸Ð¾õÒ»ÏÂÄĵ½Î޷£¬ÕâÍæÒâ¶ù±ÈÍøÂçÓÎÏ·»¹ÉËÈË£¬´¿´âÊÇɱÄÔϸ°ûµÄ¡£

7dehao
ÓÐÐËȤµÄÐֵܿÉÒÔÈ¥¿´¿´¡¶linuxÎļþϵͳ¡·Õâ±¾Êé¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ