Fedora Linux Support Community & Resources Center
  #1  
Old 16th April 2012, 07:39 PM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxfirefox
Question Slow Network - Fedora 16 LXDE - Iptables or NFS

Hi guys, I just upgraded from Fedora 12.
Everything is forking fine, firewall, smb, nfs, the only problem is than my network is really slow...
I use nat to share internet and since the update is only slow on linux, If I use the connection from a windows pc everything works fine, but on the same pc using Fedora 16 it turns slow.
I used the same configuration on my Fedora 12 Server, transfering files with NFS was a bit fast 8MBps but on Fedora 16 it went down to 4Mb.
What could be the reason? Iptables or nfs configuration?
Thanks

BTW: Im using as client F16 64 bits and as server F16 32 bits
__________________
Aventuras con Fedora: Fedorama

Last edited by Dors; 16th April 2012 at 09:47 PM.
Reply With Quote
  #2  
Old 21st April 2012, 01:38 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Is this a wireless network or something?
Reply With Quote
  #3  
Old 23rd April 2012, 06:06 PM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Nope its wired. Everybody is having trouble with wireless, but my problem is wired networking. I guess its a processor issue, everytime I transfer files my cpu goes to 100%
__________________
Aventuras con Fedora: Fedorama
Reply With Quote
  #4  
Old 25th April 2012, 01:41 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

How slow is the server and how much memory does it have?

Code:
free
top
Even my old P3 can handle up to 200 mbit/s before the cpu becomes the limiting factor.

You can test raw network throughput with ioperf or ftp transfers.

You can temporarily disable nat and iptables. You don't need that for local network testing.
Reply With Quote
  #5  
Old 25th April 2012, 01:49 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,878
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

It can also depend on what else you are doing.

Remember, since F15 all user processes from a single login are run through the same cgroup, and that can cause CPU thrashing during large IO operations.
Reply With Quote
  #6  
Old 26th April 2012, 01:44 PM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

First of all thanks for your answers and time.
My "server" is a p3 with 380mb ram. Thats why i changed from gnome to lxde to reduce resources consumption. But apparently there must be something else.

PHP Code:
             total       used       free     shared    buffers     cached
Mem
:        379524     340108      39416          0       9204     242656
-/+ buffers/cache:      88248     291276
Swap
:       819196      34540     784656 
PHP Code:
top 06:50:34 up 11:32,  2 users,  load average0.140.891.29
Tasks
132 total,   2 running130 sleeping,   0 stopped,   0 zombie
Cpu
(s): 15.0%us14.0%sy,  0.0%ni68.3%id,  0.0%wa,  2.0%hi,  0.7%si,  0.0%st
Mem
:    379524k total,   371988k used,     7536k free,    12804k buffers
Swap
:   819196k total,    34540k used,   784656k free,   266728k cached

  PID USER      PR  NI  VIRT  RES  SHR S 
%CPU %MEM    TIME+  COMMAND            
  983 root      20   0 50400 9856 3312 R 15.7  2.6  33
:40.56 X                  
 1231 M4ch1n4   20   0 26760  14m 2100 S 10.5  3.9   2
:29.54 x11vnc             
 2176 M4ch1n4   20   0 96068 9964 8096 S  2.0  2.6   0
:02.08 lxterminal         
 2236 M4ch1n4   20   0  2888 1036  792 R  1.3  0.3   0
:00.49 top                
  713 root      10 
-10  3268 3116 2268 S  0.3  0.8   0:04.81 iscsid             
 1229 M4ch1n4   20   0 95628 6768 5176 S  0.3  1.8   0
:01.66 pcmanfm            
    1 root      20   0  5476 2592 1152 S  0.0  0.7   0
:03.80 systemd            
    2 root      20   0     0    0    0 S  0.0  0.0   0
:00.06 kthreadd           
    3 root      20   0     0    0    0 S  0.0  0.0   0
:01.86 ksoftirqd/0        
    6 root      RT   0     0    0    0 S  0.0  0.0   0
:00.00 migration/0        
    7 root      RT   0     0    0    0 S  0.0  0.0   0
:00.01 watchdog/0         
    8 root       0 
-20     0    0    0 S  0.0  0.0   0:00.00 cpuset             
    9 root       0 
-20     0    0    0 S  0.0  0.0   0:00.00 khelper            
   10 root      20   0     0    0    0 S  0.0  0.0   0
:00.00 kdevtmpfs          
   11 root       0 
-20     0    0    0 S  0.0  0.0   0:00.00 netns              
   12 root      20   0     0    0    0 S  0.0  0.0   0
:00.12 sync_supers        
   13 root      20   0     0    0    0 S  0.0  0.0   0
:00.00 bdi-default 
So apparently cpu is not an issue, but ram...What could be consuming so much ram? I can see the detail with top.
Thanks again

BTW 200mb/s on lan??? I was so happy when I reached 8 mb/s with nfs xD
__________________
Aventuras con Fedora: Fedorama
Reply With Quote
  #7  
Old 26th April 2012, 07:26 PM
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,632
linuxfedorafirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

According to your top output, these eat the most resources.
1) x11vnc (14 mb)
2) lxterminal (~10 mb)
3) X (9mb)
4) pcmanfm (7mb)

If you are NOT using SCSI drives, maybe you can disable the iscsi service? (do at your own risk!)
This could save about 3 mb of ram.

EDIT:
Other than that, why use any DE für a 'plain' server?
---------
Comes to mind, does your 'server' happen to have an old network card?
Like 10/100mbit? That would be something around 12 mb at max.
And if the hdd of the server is running with 5400 or even 3600 rpm, that could cause a bottleneck as well.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Guide: Windows 8+ & Fedora 20+ Dualboot
Repo (sea-devel) :: Text User Interface (TUI), Video Handler Script (VHS), efi-helper, grub2-circled-nasa-themes, Essentials (blame, p, rmtf, rnd, siggen, screenshot...), (BETA) Dev-Scripts, (BETA) Fedora Account Scripts (FAS)

Last edited by sea; 26th April 2012 at 10:55 PM.
Reply With Quote
  #8  
Old 30th April 2012, 12:35 AM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Thanks for your answer.

Well my drive is a 7200 rpm hdd, so thats not the problem.
My netword cards are 10/100, even my switch. the problem here is that with fedora 12 I could get speeds up to 8mb but with fedora 16 I get 4mb max...Im using the same hardware, so definetly is a software issue, mayeb this new nfs version, I dont know.
__________________
Aventuras con Fedora: Fedorama
Reply With Quote
  #9  
Old 30th April 2012, 10:40 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,994
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Quote:
Originally Posted by jpollard View Post
It can also depend on what else you are doing.

Remember, since F15 all user processes from a single login are run through the same cgroup, and that can cause CPU thrashing during large IO operations.
Not with the unlimited memory default for the F16 cgroups.

Quote:
Originally Posted by Dors View Post
Hi guys, I just upgraded from Fedora 12[...] but on the same pc using Fedora 16 it turns slow.[...]

Quote:
Originally Posted by Dors View Post
First of all thanks for your answers and time.
My "server" is a p3 with 380mb ram.
[....]
According to the F16 release notes ....
Quote:
Although some configurations might work on a Pentium 3, most users should consider a Pentium 4 or more modern processor,[...].

Minimum RAM for text-mode: 768 MiB
Minimum RAM for graphical: 768 MiB
Recommended RAM for graphical: 1152 MiB

You need a small-mem distro for that machine.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #10  
Old 30th April 2012, 05:09 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,878
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Stevea - it still thrashes.

The best way to make large copies and not hang the GUI is to use a different login - I use the console virtual terminals to get a new login.

Large copies are not a problem then.

Only thing I've been able to identify from it is a CPU saturation. Not a memory issue at all.
Reply With Quote
  #11  
Old 1st May 2012, 04:31 AM
Elizandro Offline
Registered User
 
Join Date: May 2012
Location: Brazil
Posts: 2
windows_7chrome
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Quote:
Originally Posted by Dors View Post
Hi guys, I just upgraded from Fedora 12.
Everything is forking fine, firewall, smb, nfs, the only problem is than my network is really slow...
I use nat to share internet and since the update is only slow on linux, If I use the connection from a windows pc everything works fine, but on the same pc using Fedora 16 it turns slow.
I used the same configuration on my Fedora 12 Server, transfering files with NFS was a bit fast 8MBps but on Fedora 16 it went down to 4Mb.
What could be the reason? Iptables or nfs configuration?
Thanks

BTW: Im using as client F16 64 bits and as server F16 32 bits
Try to remove file /etc/modprobe.conf and reboot system.

[]´s
Reply With Quote
  #12  
Old 1st May 2012, 07:56 PM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Thanks for your answers and time guys!
I read about the memory upgrade since fedora 15, but I read that that was a anaconda requirement, at least you dont need that much for LXDE.
Well theres something wrong...I went back to fedora 12 and my speed is even worse, now I transfer files using nfs at 2MBs... I dont know if theres something wrong with my hardware (client or server side) or cables, I dont know, the only thing that I changed recently was my client bios.
Any ideas?
Thanks again

---------- Post added at 09:56 AM ---------- Previous post was at 08:02 AM ----------

Well I started changing cables and now im back to 5-6 mb/s.
I didnt think that will affect that much. Both of them are cat 5 cables...
I guess ill give fedora 16 one more try, but there must be something else becasue I still cant reach 8mb/s like before
__________________
Aventuras con Fedora: Fedorama
Reply With Quote
  #13  
Old 1st May 2012, 09:47 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,878
linuxfirefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

Might verify that the interface is in full duplex mode...
Reply With Quote
  #14  
Old 2nd May 2012, 04:47 AM
Dors Offline
Registered User
 
Join Date: Feb 2007
Posts: 175
linuxsafari
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

How can I do that?
Thanks
__________________
Aventuras con Fedora: Fedorama
Reply With Quote
  #15  
Old 2nd May 2012, 09:31 AM
bensonparis Offline
Registered User
 
Join Date: Apr 2012
Location: UK
Posts: 5
windows_7firefox
Re: Slow Network - Fedora 16 LXDE - Iptables or NFS

No permanent solution of this problem.
Reply With Quote
Reply

Tags
fedora, iptables, lxde, network, nfs, slow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lxde+netbook=slow boot scales11 Fedora Spins & Remixes 1 4th September 2011 03:42 PM
Really Slow Network on Fedora 15 note32 Servers & Networking 0 16th May 2011 08:15 AM
Fedora 14 LXDE - Network Problems Dors Using Fedora 0 2nd May 2011 07:56 AM
Network Lan connection in LXDE fedora rootvn Using Fedora 0 23rd March 2011 07:13 PM


Current GMT-time: 05:45 (Friday, 28-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Nantes Cathedral Photos on Instagram