DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th July 2008
mgichoga mgichoga is offline
New User
 
Join Date: Jul 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default Freebsd and 1000Mb/s

I two servers; each having gig(1000Mb/s) card and are connected to a gig switch. The freebsd server is running freenas and is primarily for backup up the windows server. My major concern is that the freebsd box is not pushing gig speeds. When I run ifconfig it knows its connected at 1000baseTX but when I do transfers it does doesn't go over 100baseTX. I've put in my laptop on the same port (which has a gig network card too) and did some network tests and it pushed more than 100baseTX so its not the problem with the network, its the freebsd box. Is there a setting which I can force the nic to transfer at 1000baseTX. The files I'm backing up need to be completed in a short timeframe. Any experts who can shed some light on this? Thanks
Reply With Quote
  #2   (View Single Post)  
Old 19th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

idk if it'll help, but try setting this:
net.inet.tcp.delayed_ack=0
kern.ipc.maxsockbuf=2097152
kern.ipc.somaxconn=512
kern.maxfiles=65536
kern.maxfilesperproc=32768


net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
kern.ipc.nmbclusters=65535

using sysctl or write them in /etc/sysctl.conf
you can get description by
sysctl -d SWITCH


also do you think that your hardware is capable of reading/writing at such a speed?
Reply With Quote
  #3   (View Single Post)  
Old 20th July 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

Can you please supply the full model names and specs of the NICs? What version of FreeBSD/FreeNAS?
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #4   (View Single Post)  
Old 20th July 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

As kind of hinted to before,
What kind of hard drives are in these? A 5400 rpm IDE with 2mb cache doesn't stand a chance in hell to run 100mbps continuous write or read, let alone 1000mbps.
Reply With Quote
  #5   (View Single Post)  
Old 20th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I seem to be able to get 48-50MB/s transfer rates on my 5400 rpm, 40GB ATA drive... unlikely to have a lot of hardware cache.

100Mb/s is 100 Megabits per second, 12.5MB/s.
1000Mb/s is 1 Gigabit per second, 125MB/s.

Last edited by BSDfan666; 20th July 2008 at 11:11 PM.
Reply With Quote
  #6   (View Single Post)  
Old 21st July 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
I seem to be able to get 48-50MB/s transfer rates on my 5400 rpm, 40GB ATA drive... unlikely to have a lot of hardware cache.

100Mb/s is 100 Megabits per second, 12.5MB/s.
1000Mb/s is 1 Gigabit per second, 125MB/s.
The reason I say is for things like
http://www-307.ibm.com/pc/support/si...GR-4FEK5N.html

Quote:
# Sustained data transfer rate: 12 to 20 MB/sec
# Actual performance varies based on many factors and is often less than the maximum possible.
Which 12MB/s is still 96Mb/s but, that assumes no seeking/competition for the HDD.

edit: Just one more ?, have you verified that there are no speed or duplex mis-matches? That will kill through put.

Last edited by tad1214; 21st July 2008 at 12:41 AM.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 08:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick