www.pegasos.org :: View topic - Slow Gigabit upload
http://www.ggsdata.se
Home   News   Forum   Gallery   
Search 
Login




 


 Log in Problems?
 New User? Sign Up!

Navigation

Online
Currently no members online:)

You are an anonymous user. You can register for free by clicking here
There are 1 unlogged users online !

Latest Web Links

Latest Downloads

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
judas
9 Post subject: Slow Gigabit upload  PostPosted: Nov 04, 2006 - 19:52
Newbie


Joined: Nov 04, 2006
Posts: 20

Hi,

using Suse 10 linux, I get 30Mb/s on download but only 2Mb/s on upload.
The onboard VIA does 9Mb/s in both directions.
?
Anyone has Gigabit working full speed in both directions ?

BTW: I tried with FTP, NC, NFS and Samba.
bye
 
 View user's profile Send private message  
Reply with quote Back to top
Trizt
Post subject: Re: Slow Gigabit upload  PostPosted: Nov 05, 2006 - 04:48
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
It's a long time since I used the onboard Gigabit nic, but as far as I can remember I got quite okey speeds in both directions, but switched to a PCI gigabit nic which works better for me. You can play a bit with some of the kernel values to speed things up.
Code:
echo 0 > /proc/sys/net/ipv4/tcp_sack
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1024 > /proc/sys/dev/rtc/max-user-freq
echo 2500000 > /proc/sys/net/core/wmem_max
echo 2500000 > /proc/sys/net/core/rmem_max
echo "4096 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 65536 5000000" > /proc/sys/net/ipv4/tcp_wmem


If you want to speed up the NFS, you can tweak with the following values (must be set before NFS is started on the server, assuming you already set the wmem_max and rmem_max)
Code:
echo "1048560" > /proc/sys/net/core/rmem_default
echo "1048560" > /proc/sys/net/core/wmem_default


I think you should see some speed increase, the default values seems to be more fit for an 8Mbit connection

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
judas
6 Post subject:   PostPosted: Nov 05, 2006 - 09:18
Newbie


Joined: Nov 04, 2006
Posts: 20

Hi,
thanks a lot for your tweaking tips.
Unfortunately this didn't speed up my network.

I also tried a PCI Gigabit card ( realtek 8110 chip). It was properly detected, link was detected up, but no paket sent successfully.

What model of PCI Gigabit did you use ?

bye
Mr Walk
 
 View user's profile Send private message  
Reply with quote Back to top
Trizt
Post subject:   PostPosted: Nov 05, 2006 - 09:39
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
The card I have is
Code:
00:06.0 Ethernet controller: D-Link System Inc Gigabit Ethernet Adapter (rev 11)
        Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 255 (5750ns min, 7750ns max)
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at 80004000 (32-bit, non-prefetchable) [size=16K]
        Region 1: I/O ports at fe001200 [size=256]
        Expansion ROM at 80020000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data


It uses the skge module and it works fine for me.

Forgot to mention, the harddrive speed will most likely be the limitation for you, it won't get any faster for you are using gigabit network, to get more out of your harddrives you need to play with the hdparm settings or attache a SATA-II card and hard drivers for it.

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
judas
12 Post subject:   PostPosted: Nov 08, 2006 - 20:10
Newbie


Joined: Nov 04, 2006
Posts: 20

I'll try to buy the same card. thnx

BTW: Harddrive speed is not my limitation. I use netcat and the file like /proc/kcore ( = raw mem image).
 
 View user's profile Send private message  
Reply with quote Back to top
judas
7 Post subject:   PostPosted: Nov 29, 2006 - 19:49
Newbie


Joined: Nov 04, 2006
Posts: 20

I finally solved my gigbit problem.

It seemed to be caused by the Suse10-kernel. Now I installed 10.1 and Gigabit works flawless at full speed in both directions.
 
 View user's profile Send private message  
Reply with quote Back to top
judas
5 Post subject:   PostPosted: Dec 28, 2006 - 15:28
Newbie


Joined: Nov 04, 2006
Posts: 20

Hi,

well, I was quite too optimistic with my solution of the Gigabit prob:

The Marvell makes the system lock, giving a nice Ooops of the kernel.

The Dlink-Card you used (which I bought, too) works flawless... you might think , but doing a "dmesg" show lots of fails of HW checksums of this card.
Although it doesn't lock my system, I doubt of its reliability for server usage ...

Which Linux distributions are working well with Gigabit on Peg2 ?
 
 View user's profile Send private message  
Reply with quote Back to top
ironfist
Post subject:   PostPosted: Dec 28, 2006 - 16:43
Order of the Pegasos
Order of the Pegasos


Joined: Jan 22, 2004
Posts: 2517
Location: Göteborg
Gentoo

_________________
www.SecureHosting.se | Egen server med 512 MB RAM och 10 Mbit trafik 250 kr/mån | www.SecureNetworks.se
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
Trizt
Post subject:   PostPosted: Dec 28, 2006 - 20:27
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
I guess Gentoo and Debian are the two which has people working or has worked with the gigabit driver. Not sure pick of distro will change things for you, it's still the same driver and of course the same hardware.

When it comes to my d-link card, I do not get any extra logs in dmesg, so it works well for me, so it could be that your card is broken, or in worst case maybe ecen your PCI is damaged.

At this moment, my server been up and workign for 208 days 10 hours and 36 minutes.

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
judas
Post subject:   PostPosted: Dec 28, 2006 - 22:46
Newbie


Joined: Nov 04, 2006
Posts: 20

Up to which rate did you test receiving on gigabit ?

More then 30Mb/s for 2 minutes ?

BTW: I doubt, it`s a hw prob, as I own 3 Peg2 and 2 Dlink-cards.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2004-2012 by pegasos.org

backend|avantgo