Date: Wed, 30 Apr 1997 08:05:48 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@freebsd.com Subject: Re: Syslog bug? (1 solved) Message-ID: <19970430080548.LR07541@uriah.heep.sax.de> In-Reply-To: <3.0.32.19970429152852.00b0f7cc@mixcom.com>; from Jeffrey J. Mountin on Apr 29, 1997 15:28:53 -0500 References: <3.0.32.19970429152852.00b0f7cc@mixcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jeffrey J. Mountin wrote: > On the curious side I wonder if any date related calls access the files in > /usr/share/zoneinfo *every* time a program makes a call or is this info > cached? The way the code looks it is not. This means that a small amount > of work (disk IO) is done for each program and each call, if there are > several, and could be considered inefficient, especially when one considers > how many times syslog() is used. Or is there a reason for this? I think they are only loaded once when being used first. Even if not, remember that there's a disk cache. Things that are frequently used are likely to be in the cache. The zoneinfo files certainly belong into this category. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970430080548.LR07541>