From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 23 16:02:04 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 53E2116A468 for ; Wed, 23 Jan 2008 16:02:04 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id ECC3513C46B for ; Wed, 23 Jan 2008 16:02:03 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1723083nzf.13 for ; Wed, 23 Jan 2008 08:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=KD6TnOiYAVWH9T7VQkE5mWIiWiOzRbvR+AcKuRffQus=; b=RYU9UO6zsisdP2RAtk6qL6/7QS+xw1MfugL0s4W3+7TuHHVOmvIZGWlC52xXRiq/8QV8FMZCpHMksYXVWm+D8jVdLh4QaWxSt/mLh/XDWMWTUN24X7xcsiAXo56SjCCn2f9yjUCbh0/TniK4z0wYK5iDwwv/7bTVCjf+HLqfEkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=QLmR52cVpk/ntIiewXXdoFEQV7rTN9Tjw2uYU2+CvjFIeUh6WcoNSqmAbognU/020tW52xAsRVMU9yWrU4TJqJlXG3CGOPRoHMa7R5IzfMUWfXG5MUl2PZexjB0Wz3IgSJQeuERAtOAjjE0Aj9iSs546PijWt0wodGpNrKz26Xc= Received: by 10.141.22.1 with SMTP id z1mr6454235rvi.67.1201104122662; Wed, 23 Jan 2008 08:02:02 -0800 (PST) Received: by 10.141.212.1 with HTTP; Wed, 23 Jan 2008 08:02:02 -0800 (PST) Message-ID: <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> Date: Wed, 23 Jan 2008 17:02:02 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Stefan Lambrev" In-Reply-To: <479754E6.1060101@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4795CC13.7080601@moneybookers.com> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <47964356.6030602@moneybookers.com> <479647FB.3070909@FreeBSD.org> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> X-Google-Sender-Auth: 7def6487cf5df68b Cc: freebsd-hackers@freebsd.org 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: Wed, 23 Jan 2008 16:02:04 -0000 On 23/01/2008, Stefan Lambrev wrote: > Greets, > > Now I have final results with Linux and FreeBSD on the same hardware > CPU: Intel(R) Xeon(R) CPU 3070 @ 2.66GHz - dual core > Lan: em0@pci0:3:0:0: class=0x020000 card=0x10bc8086 chip=0x10bc8086 > rev=0x06 hdr=0x00 > vendor = 'Intel Corporation' > device = '82571EB Gigabit Ethernet Controller (Copper)' > class = network > subclass = ethernet > > FreeBSD releng_7_0 from today - amd64, sched_ule. > > ACPI-Fast - 6.187 MB/s > TSC - 9.455 MB/s > dummy - 9.577 MB/s > > Linux rambo2 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 > x86_64 GNU/Linux - kubuntu > > TSC - 19.456 MB/s > acpi_pm - 15.394 MB/s > jiffies - 19.480 MB/s > > This is really not what I expected. For once, it's something I expected :) I just hope it isn't one of those cases where Kris absolutely cannot reproduce it and arrives at numbers in favour of FreeBSD :) (just joking here, absolutely no ill feelings involved). It would be helpful if you post exact command line arguments from all cases. > The other thing that bothers me is, that under freebsd is quite easy to get: > [send_ip] sendto: No buffer space available > It happens almost always on my laptop just few seconds after I start > hping with timecounter=TSC I'm not sure, but from what I understood of Robert Watson's explanation in the big ZFS thread on -current, maybe increasing kmem_size (exactly as for ZFS...) could help you with these buffers.