Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-01-2003, 11:11 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Madison, CT
Posts: 1

Rep: Reputation: 0
Switching nfs from udp to tcp

I've finally set up my nfs to run on the network like it's supposed to, however it's only transferring files at about 5mbps. I'm running Red Hat 8.0 on my amd 1ghz and connecting to it through a router with my mac running os 10.2.6. My mac and the router are set to 100mbps with full duplex. I'm not sure of the speed that the linux box is set to (is there a way to set this speed?), but it does have a 10/100 NIC. From reading some of the other posts it seems that if I were to switch modes from udp to tcp, my transfer rate would increase. First, I used the network analyzer in GNOME to verify that I was using udp almost exclusively. Then, I tried switching the protocols by using iptables. The actual code that I used (as I deciphered it from man iptables) was:
iptables -t nat -A [chain] -p tcp
iptables -A [chain] -p tcp
After i had done that (and restarted the computer), I went back to Network Analyzer and it was still using udp the majority of the time. Is there some other way of switching from udp to tcp or increasing the speed in some other way?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TCP/UDP Confusion blackhole123 Linux - Networking 1 11-15-2005 04:46 AM
tcp/udp and c++ Kroenecker Programming 1 05-10-2005 12:56 PM
UDP over TCP The_Nerd Programming 7 07-21-2004 10:45 PM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 01:05 PM
TCP vs. UDP mikeshn Linux - Networking 5 05-17-2003 05:14 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration