nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

[FreeBSD 7.2] Network Speed Problem

This is a discussion on [FreeBSD 7.2] Network Speed Problem within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hey guys, Does any one know why my FreeBSD server getting so slow after 10 days? I use an AMD ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-05-2009, 07:10 PM
Junior Member
User
 
Join Date: May 2009
OS: FreeBSD 7.2
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wyd1 is on a distinguished road
Default [FreeBSD 7.2] Network Speed Problem

Hey guys,

Does any one know why my FreeBSD server getting so slow after 10 days? I use an AMD 4850e, an ASUS M3N78 Pro mainboard, 2 GB RAM and 5 TB of storage, in a ZFS RAIDZ-1. The first few days i have a transfer speed of 50 - 66 MB/s (in a GBit network). But after 10 days i only have 4 - 12 MB/s. There's no RAM problem, i've around 1 GB of inactive RAM. Any ideas?

Regards,

wyd1
Reply With Quote
  #2 (permalink)  
Old 01-06-2009, 12:10 PM
amitabh's Avatar
Contributors
User
 
Join Date: Jul 2008
Location: New Delhi
OS: FreeBSD
Posts: 99
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Power: 4
amitabh has a spectacular aura about amitabh has a spectacular aura about amitabh has a spectacular aura about
Send a message via MSN to amitabh Send a message via Yahoo to amitabh Send a message via Skype™ to amitabh
Default

How are you determining your network speed...? Have you made any changes in the network configuration or maybe any changes in the switch to which your server is connected?
Reply With Quote
  #3 (permalink)  
Old 01-06-2009, 12:53 PM
Junior Member
User
 
Join Date: May 2009
OS: FreeBSD 7.2
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wyd1 is on a distinguished road
Default

My Mac is showing the network speed. And even my Popcorn Hour is stuttering when i try to watch a 1080p or 720p movie.

No, i haven't change a thing
Reply With Quote
  #4 (permalink)  
Old 01-06-2009, 08:49 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Are you transferring lots of large files over long distance? If so you need to tune out networking stack. Tell us more about your file transfer method - is it ftp / ssh / cifs / nfs?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 01-06-2009, 08:51 PM
Junior Member
User
 
Join Date: May 2009
OS: FreeBSD 7.2
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wyd1 is on a distinguished road
Default

Yeah, i'm transfering large files (around 10 GB), but only over 10m LAN cable.

I administrate the server with SSH, the file transfer runs over smb (but i tried nfs too, i doensn't make any difference)
Reply With Quote
  #6 (permalink)  
Old 02-06-2009, 01:41 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to tune networking stack, see the following articles (a reboot is required):
Enabling High Performance Data Transfers [PSC]

Also see tuning(7) man page.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #7 (permalink)  
Old 02-06-2009, 08:46 PM
Junior Member
User
 
Join Date: May 2009
OS: FreeBSD 7.2
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wyd1 is on a distinguished road
Default

Ok, i added tcp_extensions="YES" to the etc/rc_conf and tried do edit the TCP settings :

Code:
NAS# net.inet.tcp.rfc1323
net.inet.tcp.rfc1323: Command not found.
NAS# net.inet.tcp.sack.enable
net.inet.tcp.sack.enable: Command not found.
NAS# sycstl net.inet.tcp.sendbuf_max=16777216
sycstl: Command not found.
I've no idea why that doesn't works
Reply With Quote
  #8 (permalink)  
Old 02-06-2009, 09:38 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by wyd1 View Post
Ok, i added tcp_extensions="YES" to the etc/rc_conf and tried do edit the TCP settings :

Code:
NAS# net.inet.tcp.rfc1323
net.inet.tcp.rfc1323: Command not found.
NAS# net.inet.tcp.sack.enable
net.inet.tcp.sack.enable: Command not found.
NAS# sycstl net.inet.tcp.sendbuf_max=16777216
sycstl: Command not found.
I've no idea why that doesn't works
You need to use sysctl command and not sycstl.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #9 (permalink)  
Old 02-06-2009, 10:20 PM
Junior Member
User
 
Join Date: May 2009
OS: FreeBSD 7.2
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wyd1 is on a distinguished road
Default

Sorry, my bad...

Everything works now like a charme, only sysctl -w net.inet.tcp.inflight_enable=0 doesn't works :

sysctl -w net.inet.tcp.inflight_enable=0
sysctl: unknown oid 'net.inet.tcp.inflight_enable'

But that's strange, because i've copy pasted them

//edit

NAS# sysctl net.inet.tcp.inflight.enable=0
net.inet.tcp.inflight.enable: 1 -> 0

That one worked

Last edited by wyd1; 02-06-2009 at 11:04 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Check CPU Speed in Linux sweta Getting started tutorials 2 06-08-2009 12:09 AM
Network problem! Need suggestions! grint Networking, Firewalls and Security 3 20-08-2007 09:52 PM
Weird variable evaluation problem (FreeBSD, sh) fangorn Shell scripting 1 10-10-2006 02:37 AM
LAN Speed for Bonding or Teaming puppen Linux software 11 15-05-2006 06:38 PM
FreeBSD putty home key problem chiku All about FreeBSD/OpenBSD/NetBSD 2 03-02-2005 05:10 PM


All times are GMT +5.5. The time now is 02:59 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38