Re: OptionalObsoleteFiles.inc completeness

看板FB_current作者時間13年前 (2012/06/03 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串18/19 (看更多)
--r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-May-29 02:18:25 +0400, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote: >* Peter Jeremy (peter@rulingia.com) wrote: >> My experience is that it now takes about 2=BD minutes on 10.x with warm >> caches, compared to less than 1 second on 8.x. > >Now =3D after applying my patch or after changing system? Which knobs >were enabled? "Now" as in -current as against 8.x. But, that 2=BD mins was wrong, sorry. I recalled "150s" but actually checking, it's really 1:50 (100s). It occurred to me that was an oldish -current (r235127) so I updated to r236183 and the time dropped to 107s. Since this is an oldish P4, I tried a UP kernel and that reduced it to 96s. Your patch made no noticable change (ministat reported no difference with 95% confidence). The system is amd64 with no MK_* knobs defined. >Then you should try to profile it - my script basically runs >delete-old delete-old-libs for every knob (131 of them), and it >hadn't taken more than 4 seconds even once. I've done some investigating and the problem is that "xargs -n1" fork()/exec()s /bin/echo on each file (and there are 5538 files for me). Changing this to "tr ' ' '\n'" reduces "make delete-old" runtime to 1.75s - which is much nicer. I've checked a variety of other systems running 8.x & 9.x and the 97s seems to be anomalously long so I'll do some more investigating. --=20 Peter Jeremy --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/Fk4cACgkQ/opHv/APuIc2CwCfTCRGnAQdfyLaPPezvwRmH42q LRgAniwAUVjbXZIddW/AOgTlhH7ETja+ =M2/y -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--
文章代碼(AID): #1FopqnhF (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FopqnhF (FB_current)