Date: Tue, 22 Jan 2008 12:57:23 +0200 From: Stefan Lambrev <stefan.lambrev@moneybookers.com> To: freebsd-hackers@FreeBSD.org Subject: gettimeofday() in hping Message-ID: <4795CC13.7080601@moneybookers.com>
next in thread | raw e-mail | index | archive | help
Greetings, I noticed that hping3 (from ports) is quite slower when running on FreeBSD compared to Linux. Simple ktrace shows lot of gettimeofday() calls, so I'm looking for replacement of this function. I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this yield worse performance. Of course changing timecounter to TSC make hping almost twice faster, but I'm wandering if I can optimize things more? -- Best Wishes, Stefan Lambrev ICQ# 24134177
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4795CC13.7080601>