Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 12:19:46 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: E4500 spend one core to saturate 1Gbit/s link with TCP -- is it nornal?
Message-ID:  <4D104702.40208@rdtc.ru>
In-Reply-To: <1647893939.20101220234453@serebryakov.spb.ru>
References:  <12810339411.20101220205327@serebryakov.spb.ru> <4D0FB1B1.7070703@rdtc.ru> <1647893939.20101220234453@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21.12.2010 02:44, Lev Serebryakov wrote:
> Hello, Eugene.
> You wrote 20 декабря 2010 г., 22:42:41:
> 
>>>  Is it normal, that 2.2GHz core is needed to saturate 1Gib link with
>>>  only one client (and one TCP connction), or I have something
>>>  misconfigured?
>> Compare with ftpd that uses sendfile() kernel function.
>   simple  "iperf"  shows almost same load (slightly less, but it shows
>   slightly less speed, about 800Mbit).
> 

iperf is bad tool IMHO, it abuses gettimeofday() system call and wastes too much CPU time.
Compare with ftpd that uses sendfile() kernel function.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D104702.40208>