From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 22 20:30:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D485616A41A; Tue, 22 Jan 2008 20:30:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 8F84E13C457; Tue, 22 Jan 2008 20:30:28 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 66BE01B10EF0; Tue, 22 Jan 2008 21:30:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id BCF7A1B10EF2; Tue, 22 Jan 2008 21:30:24 +0100 (CET) Message-ID: <47965260.7010707@moneybookers.com> Date: Tue, 22 Jan 2008 22:30:24 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> In-Reply-To: <479647FB.3070909@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5521/Tue Jan 22 15:55:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Ivan Voras Subject: Re: gettimeofday() in hping X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 20:30:28 -0000 Kris Kennaway wrote: > Stefan Lambrev wrote: > >>> How much can Linux handle? >> Will install ubuntu on the same machine and let you know, but my >> experience shows that FreeBSD + TSC >> have the same performance as Linux > > With which timecounter? I guess the default as it is not set anywhere (in linux it can be changed only during boot time i think) Do you have idea how can I see the current timecounter on linux ? :) This is what I found in dmesg: time.c: Using 3.579545 MHz PM timer. Calibrating delay using timer specific routine.. 4416.34 BogoMIPS (lpj=2208170) Calibrating delay using timer specific routine.. 4409.37 BogoMIPS (lpj=2204688) Using local APIC timer interrupts. Detected 12.528 MHz APIC timer. Disabling vsyscall due to use of PM timer I guess this means that ACPI timer or PM Timer is used? :) > >> Here are the max speeds I can reach with different counters (on the >> test server): >> >> i8254 - 3.660 MB/s >> ACPI-fast - 7.137 MB/s >> TSC - 12.519 MB/s >> dummy - 12.366 MB/s > > Kris > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" -- Best Wishes, Stefan Lambrev ICQ# 24134177