[rsyslog] high-performance, low-precision time API under linux?
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Jun 15 20:23:17 CEST 2009
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] 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.
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
More information about the rsyslog
mailing list