-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-09-15 11:04, 1xx wrote:
Hi all:
How many seconds does "time rpm -qa | wc" cost it in your OS?
About a minute and a half. Not "seconds". Telcontar:~ # time rpm -qa | wc 6154 6154 240152 real 1m20.028s user 0m2.875s sys 0m1.735s Telcontar:~ # Telcontar:~ # time rpm -qa | wc -l 6154 real 0m2.877s user 0m2.665s sys 0m0.213s Telcontar:~ # This is on 13.1 on real hardware, with 8 GiB RAM, and a quad core2 cpu (Q9550 @ 2.83GHz), and reasonably good rotating disks, almost idling. Notice the huge difference between the first and second runs, which proves that the slag in on the disk and database, as Jan Engelhardt says. Telcontar:~ # l -h /var/lib/rpm/Packages - -rw-r--r-- 1 root root 348M Sep 15 13:49 /var/lib/rpm/Packages - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlQW0+0ACgkQtTMYHG2NR9U0MQCgl/TX1TrfQybADFb8Hj+A+qor DMMAn2kj4bMKXQGqWuhBmrWo2seHLsgj =ECWW -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org