Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Panther knocks out my Gentoo server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mjolner
n00b
n00b


Joined: 26 Apr 2003
Posts: 35

PostPosted: Wed Mar 31, 2004 1:00 am    Post subject: Panther knocks out my Gentoo server? Reply with quote

I am having problems connecting to my Gentoo server from my Panther PowerBook. Using either SMB or NFS I can copy ~4-5GB at a time, and then my server loses all network connectivity. Copying ~30GB to and from the same server from a Windows laptop works without a hitch. For those who use Gentoo and Panther, have you seen this problem?

On the server I am running stable with the latest packages, on a 2.6.4 kernel with a NatSemi NIC.
Back to top
View user's profile Send private message
mjolner
n00b
n00b


Joined: 26 Apr 2003
Posts: 35

PostPosted: Wed Mar 31, 2004 2:34 am    Post subject: Apple's TPC/IP Stack Reply with quote

I found on the Apple forum a tip that seems to help. Apple apparently has odd TCP/IP settings. This worked for me, I sudo:ed like so to test it:
sudo sysctl -w net.inet.tcp.delayed_ack=0
sudo sysctl -w net.inet.tcp.mssdflt=1460
sudo sysctl -w net.inet.tcp.sendspace=65535
sudo sysctl -w net.inet.tcp.recvspace=65535
sudo sysctl -w net.inet.tcp.newreno=1

It seemed to work, SMB transfers are faster and no hanging after ~5GB, so I created a text file /etc/sysctl.conf and pasted the arguments after '-w' into it like so:
net.inet.tcp.delayed_ack=0
net.inet.tcp.mssdflt=1460
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.tcp.newreno=1
Back to top
View user's profile Send private message
Hydraulix
Guru
Guru


Joined: 12 Dec 2003
Posts: 447
Location: Baltimore, Maryland

PostPosted: Wed Mar 31, 2004 4:30 am    Post subject: Re: Apple's TPC/IP Stack Reply with quote

mjolner wrote:
I found on the Apple forum a tip that seems to help. Apple apparently has odd TCP/IP settings. This worked for me, I sudo:ed like so to test it:
sudo sysctl -w net.inet.tcp.delayed_ack=0
sudo sysctl -w net.inet.tcp.mssdflt=1460
sudo sysctl -w net.inet.tcp.sendspace=65535
sudo sysctl -w net.inet.tcp.recvspace=65535
sudo sysctl -w net.inet.tcp.newreno=1

It seemed to work, SMB transfers are faster and no hanging after ~5GB, so I created a text file /etc/sysctl.conf and pasted the arguments after '-w' into it like so:
net.inet.tcp.delayed_ack=0
net.inet.tcp.mssdflt=1460
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.tcp.newreno=1




Also if you download Broadband optimizer for OS X. It creates a script so you can change the net.inet.tcp.sendspace and net.inet.tcp.recvspace to whatever you want. It's a great way to make your Cable/DSL internet faster. I've maxed out at

Code:
net.inet.tcp.sendspace=466033 and net.inet.tcp.recvspace=466033


Give it a whirl. :D
_________________
It is the fate of operating systems to become free.
- Neal Stephenson

If only You and Dead people can read hex, how many people can read hex?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum