Скажите пожалуйста, а что можно было сделат с машинкой, чтобы sort так
тормозил? Причем, то же самое повторяется на чуть более слабой, но практически
полной копии проблемной машинки (RedHat 9, самосборное ядро)
[ad@gate-01 ad]$ uname -a
Linux gate-01.mobilesynergygroup.local 2.6.13.3 #6 Wed Oct 12 21:43:51 EEST 2005 i686 i686 i386 GNU/Linux
[ad@gate-01 ad]$ uptime
17:12:40 up 14 days, 9:06, 2 users, load average: 0.13, 0.22, 0.32
[ad@gate-01 ad]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping : 4
cpu MHz : 3200.491
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid xtpr
bogomips : 6409.73
[ad@gate-01 ad]$ time -p sort -k 5,5 -k 1,1 -k 2,2 -o /dev/null < 10_1_2_60.unsort
.. Вобщем больше 5-ти минут, сил нету ждать
В тоже время, тот же самый файл:
ad@bmw:ad>uname -a
Linux bmw 2.6.10-gentoo-r4 #1 Mon Jan 10 12:51:24 EET 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
ad@bmw:ad>uptime
17:42:30 up 119 days, 1:01, 5 users, load average: 0.00, 0.01, 0.00
ad@bmw:ad>cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 803.529
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1585.15
ad@bmw:ad>time -p sort -k 5,5 -k 1,1 -k 2,2 -o /dev/null < 10_1_2_60.unsort
real 0.73
user 0.71
sys 0.00
ad@bmw:ad>
--
Andrew Degtiariov
DA-RIPE
===================================================================
uanog mailing list.
To Unsubscribe: send mail to majordomo(a)uanog.kiev.ua
with "unsubscribe uanog" in the body of the message