public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Williams Parker <listas@medusa.homeunix.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: speed interface ethernet 10/100Mbit/seg
Date: Mon, 26 Apr 2004 06:49:07 +0200	[thread overview]
Message-ID: <20040426044907.GP596@alpha.home.local> (raw)
In-Reply-To: <20040426011101.GA1798@sakroot.org>

Hi,

you can read several time the same file, it should be cached after the first
read if it can fit in memory (eg not more than a few hundreds megs).
You can also test your interface with FTP. On the client side, you should
send it to /dev/null to avoid disk I/O. :
ftp> bin
ftp> recv XXX /dev/null

and if you have netcat (nc), this is even easier : copy a large block of
zeroes on the network and time it :
server> dd if=/dev/zero bs=16k count=10000 | nc -lp4000
client> time nc server 4000 | wc -c
=> you'll read 160 MB, you divide by the number of 'real' seconds and it
gives you the number of megabytes per second on the network.

Regards,
Willy

On Mon, Apr 26, 2004 at 03:11:01AM +0200, Williams Parker wrote:
> Hello, i have troubles with speed in ethernet interface 
> 
> 
> i have probed with transfer of files in samba to windows
> 
> speed max 1,44Mbytes/sec and it have about 8Mbytes/sec
> 
> 
> 
> info my hardisk
> 
> 
> hdparm -t /dev/hdc
> 
> /dev/hdc:
>  Timing buffered disk reads:   34 MB in  3.04 seconds =  11.18 MB/sec
> 
>  ok it´s mdma2 
> 
> 
>  while i send archivos it low to 4,20Mbytes/sec  --->
> 
> 
>  hdparm -t /dev/hdc
> 
>  /dev/hdc:
>   Timing buffered disk reads:   14 MB in  3.10 seconds =   4.52 MB/sec
> 
> 
> 
>   why do it send to 7 or 8Mbytes/sec ???
> 
>   howto probe max speed??
>  
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2004-04-26  4:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S262064AbUDYCEK/20040425020410Z+1117@vger.kernel.org>
2004-04-26  1:11 ` speed interface ethernet 10/100Mbit/seg Williams Parker
2004-04-26  4:49   ` Willy Tarreau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040426044907.GP596@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=listas@medusa.homeunix.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox