Re: [Modeling-users] ec.insert() timing
Status: Abandoned
Brought to you by:
sbigaret
|
From: Yannick G. <yan...@sa...> - 2003-09-11 20:37:05
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On September 11, 2003 01:33 pm, Sebastien Bigaret wrote: > No problem, at least you know where to search, hm, or maybe where not > to search :/ I'll be interested in knowing what happened there, > obviously. > > Good luck in hunting the problem! I've been lucky ! : D Thanks to your advices, I quickly pinned down the lag to a call to gethostbyaddr() . I fixed it by installing a caching name server on my box. Further improvement can be achieved by putting the hostname of the machine in /etc/hosts if you don't expect it to change between reboots. Maybe the FQDN should be cached by the framework to prevent this weird slowdown to happen to other people. Mandrake does install a local name server by defaults : tmdns . The default configuration doesn't do any caching though. =2D --=20 Yannick Gingras Byte Gardener, Savoir-faire Linux inc. http://www.savoirfairelinux.com/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/YNzvrhy5Fqn/MRARAoxAAJ9J33WHLFVLpxk/nMJNguFLf0AzfgCfST2N 0L+SnmabkDXpWk3dhUuHlDo=3D =3DNArK =2D----END PGP SIGNATURE----- |