[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492077: debian-installer: avoid searching for libgcc_s.so



Joey Hess wrote:
> joey@kodama:~>time perl -e 'for (1..16625) { open(IN, "/no/file") }'      
> 0.03user 0.03system 0:00.06elapsed 96%CPU (0avgtext+0avgdata 0maxresident)k
> 
> So for a typical install on modern hardware, these 16 thousand extra syscalls
> use less than 0.1 second.
> 
> I don't have my slug handy to try, but 1% of install time sounds very excessive
> even there.

joey@slug:~>time perl -e 'for (1..16625) { open(IN, "/no/file") }'
0.97user 0.28system 0:01.26elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k

So even on the slug, if these syscalls take the claimed 1% of the install time,
then the entire installation must take less than 3 minutes!

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: