public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* speed interface ethernet 10/100Mbit/seg
       [not found] <S262064AbUDYCEK/20040425020410Z+1117@vger.kernel.org>
@ 2004-04-26  1:11 ` Williams Parker
  2004-04-26  4:49   ` Willy Tarreau
  0 siblings, 1 reply; 2+ messages in thread
From: Williams Parker @ 2004-04-26  1:11 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 545 bytes --]

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??
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: speed interface ethernet 10/100Mbit/seg
  2004-04-26  1:11 ` speed interface ethernet 10/100Mbit/seg Williams Parker
@ 2004-04-26  4:49   ` Willy Tarreau
  0 siblings, 0 replies; 2+ messages in thread
From: Willy Tarreau @ 2004-04-26  4:49 UTC (permalink / raw)
  To: Williams Parker; +Cc: linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-26  4:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox