LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-26-2004, 03:45 PM   #1
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
file transfer performance over wireless.


my linux box is connected to the internet through an ethernet connection to a wireless router. I also have a powerbook that connects to the internet and my linux box wirelessely through the router

the problem I have is that network performance are abismal :

no problem to get to the internet from either the linux box or the wireless connection but connecting to my nfs or samba shares on the linux pc is very slow.

actually, the speed of the connection is just enough for ssh type of interaction. But transfering a file is hopeless.....

Is there any configuration I need to check anywhere to improve things ?

Thanks all
 
Old 02-26-2004, 04:23 PM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Hope this is helpful:

http://nfs.sourceforge.net/nfs-howto/performance.html

http://www.higs.net/85256C89006A03D2...NFSPerformance


http://www.samba.org/samba/docs/man/speed.html


Be sure to test FTP speeds which also uses TCP/IP

Check to see if there are any Hubs, etc and any possible issues with auto-negotiation and the network cards.

I would first concentrate on the basic communications, check all physical connections and make sure everything is connected fine. Also check /var/log/messages to see if there are any messages from the driver.

Last edited by beyer42; 02-26-2004 at 05:01 PM.
 
Old 02-29-2004, 04:41 PM   #3
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593

Original Poster
Blog Entries: 1

Rep: Reputation: 30
some more details : I have done a transfer test using sftp and at first, it's quite satisfactory. But after say 10 seconds, is slows downs and stalls. does that sound familiar ?
 
Old 02-29-2004, 06:43 PM   #4
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Definitely NOT a fine tuning issue

I would check DNS setup and performance on all linux/unix systems involved in the ftp. DNS hang is one thing you want to either rule or rule out first. Can try pinging by name and also dig command. CHeck out /etc/resolv.conf and /etc/nsswitch.conf. resolv.conf should just have a couple of lines specifying the IP address of primary and secondary name servers to use. look at nsswitch.conf and make sure hosts: line
is something like hosts: files dns

If still having stalls after rechecking everything DNS, then you can try running strace -f -o /tmp/strace1.out ftp <wherever>

strace will print out the system calls made to /tmp/strace1.out (you can call the file whatever you want, it will just be a plain ASCII file)

syntax:
strace -f -o <output file> <command>

If looking look near the end of the output file and look for system commands that tend to take more time ( bigger increments in time between system commands) or perhaps be called more frequently.

If still can't find anything then would try to check if there is any possibility of connection problems in any way.

Also be sure to look over /var/log/messages with a fine tooth comb.

Last edited by beyer42; 02-29-2004 at 06:49 PM.
 
Old 03-01-2004, 01:53 AM   #5
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I seem to have found what the problem was : the MTU size was 1458 on the router instead of 1500 on both hosts. I've changed it and transfered a movie at 300 kb/s with no stalls and streamed mp3.

Thanks guys.
 
  


Reply


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
File Transfer thereeper Linux - Software 2 05-17-2005 05:26 PM
NFS file transfer problem via wireless akshunj Linux - Wireless Networking 15 12-19-2004 12:47 PM
file transfer from vm phfowol Debian 3 10-23-2004 12:39 AM
Wired and Wireless file transfer ksalopek Linux - Wireless Networking 0 02-06-2004 02:48 PM
File transfer Joe47 Linux - Newbie 2 02-09-2003 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:30 PM.

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