On Mon, 15 Jun 2009, Rainer Gerhards wrote: >> -----Original Message----- >> From: [email protected] [mailto:rsyslog- >> [email protected]] On Behalf Of Thomas Mieslinger >> Sent: Monday, June 15, 2009 7:58 PM >> To: rsyslog-users >> Subject: Re: [rsyslog] high-performance, low-precision time API under > linux? >> >> BTW: In the Informix DBMS the Software Architects decided to implement an > OS >> independent timer thread to work arround (very costly in the late 90s) >> gettimeofday() calls. >> >> I've run the code on some Solaris 10 boxes, because they were known for > their >> slow gettimeofday() implementation >> >> S11 snv_105 Pentium 4 3GHz >> time ./a.out 100000 >> real 0m0.087s >> user 0m0.082s >> sys 0m0.004s >> >> S10 Generic_138889-03 Athlon 2,2GHz >> time ./a.out 100000 >> real 0m0.028s >> user 0m0.026s >> sys 0m0.002s >> >> ok, lets try this on an older boxes... >> suse70 2.2.21 libc-2.1.3-141 2xP3 800 >> time ./a.out 100000 >> >> real 0m0.100s >> user 0m0.080s >> sys 0m0.020s >> >> So, what are you using as a development box? > > I should have mentioned that I am typically running inside a virtualized > environment as I routinely need to run three to four machines in parallel for > testing.
ahh, virtualized boxes are especially bad for gettimeofday(). which virtualization are you using? David Lang > If anyone is up for hardware contributions, just let me know ;) > > Rainer >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

