View previous topic :: View next topic |
Author |
Message |
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Jan 22, 2014 12:09 pm Post subject: Upgrading my network from 100Mb to 1000mb |
|
|
Hello
i want to increase throughput of my network, and decided to move to 1gbit technology
first i will describe how my network is organized
routerWIFI_with_modemDSL20MB-Switch(100MB)-SERWER_SMS
........../......................................................\ ..........................
..Android phones.....................................7clients......................
so you can see that if 3 people want to watch 8GB_MKV_movie from server there is a problem with capacity of the network.
first i want to change switch to 1gbit model, than i need to change network card on server and here is a question, which cheap model is recognized by SMS out of the box ? is there any benefits of putting 2 or 3 1gbit network cards into server ?
what should i check buying 1gbit switch, is there any difference between dlink and netgear or tplink(cheapest)
i hope cables will handle more data
thanks in advance for answering. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Jan 22, 2014 5:44 pm Post subject: |
|
|
I've said it in the past, on another topic, marvel chipsets are the best for me, regarding performance and stability...
The cheap realtek 8168/9 nics under 24/7, don't last long, after few months end up dead, and beside the performance is poor due to linux driver...
Performance affected by CPU and RAM too for speed and of course your switch quality, but in generally marvel are x5 faster...
So brand has nothing to do with it, only the chipset, for instance
dlink DGE-510T - > realtek 816x family
dlink DGE-530T -> marvel
Ethernet bonding as known in linux, or link aggregation in cisco equipment will give you advantage over lot of connections, but to achieve the best of it, you will need a managed switch that support link aggregation...
Switch from wifi to 1Gbit cable you will see big difference, that's for sure...
SMS has no problem recognize NICs, you just need to edit udev rules after switching or adding new nics, because new nics will have a new device name like eth1, eth2 e.t.c.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Jan 29, 2014 4:06 pm Post subject: |
|
|
hi , i bought
Dlink DGS-1008A
Planet ENW-9700 PCI-E
i hope that SMS will recognize this card, otherwise i will need some help from you  |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Sat Feb 01, 2014 5:19 pm Post subject: |
|
|
ok i setup everything, my PCs are have now 1gb/s connection, but ...
my SMS server recognized Planet ENW-9700 PCI-E and i have connection with switch but only 100mb/s
how to enable 1gb/s ?
sky2 eth0: Link is down.
sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
sky2 eth0: Link is down.
sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
sky2 eth0: Link is down.
sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
sky2 eth0: Link is down.
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
it looks like something wrong with the cable, but i tried 3 and the last is original from router (not 1gbe) but 5E (4pair enchenced smth smth ....)
it has 1m, whats wrong ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Feb 04, 2014 4:30 pm Post subject: |
|
|
Assuming your switch is a gigabit one and your cable is a cat 6 (or 5E) with 4 twisted pairs and not a crossed one, you should have a gigabit connection...
What are those 3 with 1000 mbps before the 100 Mbps...?
Did you unplug the cable those times...?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Tue Feb 04, 2014 4:34 pm Post subject: |
|
|
i tried 3 different cables, all 5E, my windows PCs says 1GbE but i didnt checked real speed so maybe smth is still wrong overally
searching google i found some posts about marvel driver problems in early kernels, dont know is it fixed in my 12.2.0 (SMS 1.6 ? )
btw this is log from starting server, not during unpluging cable
Feb 3 15:05:02 mediaserver kernel: sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
Feb 3 15:05:02 mediaserver kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Feb 3 15:05:02 mediaserver kernel: sky2 eth0: Link is down.
Feb 3 15:05:02 mediaserver kernel: sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both
Feb 3 15:05:02 mediaserver kernel: sky2 eth0: Link is down.
Feb 3 15:05:03 mediaserver kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Feb 3 15:05:03 mediaserver kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Feb 3 15:05:03 mediaserver kernel: NFSD: unable to find recovery directory /var/lib/nfs/v4recovery
Feb 3 15:05:03 mediaserver kernel: NFSD: starting 90-second grace period
Feb 3 15:05:03 mediaserver kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Feb 3 15:05:04 mediaserver kernel: eth0: no IPv6 routers present
Feb 3 15:05:04 mediaserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Feb 04, 2014 4:49 pm Post subject: |
|
|
What "ethtool eth0" says?
And if you do
"ethtool -s eth0 speed 1000"
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Tue Feb 04, 2014 5:54 pm Post subject: |
|
|
Could you log into my serv and check it im not experienced linux user, i already give you acces s some massages ago |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Feb 04, 2014 6:58 pm Post subject: |
|
|
OK! I just take a sneak peak, funny thing is I found a similar marvel chipset using t sky2 driver and I plug it in on sms64 current and negotiate at 100Mbps only, so now I have a test case to work...
I'll take a look and let you know...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Tue Feb 04, 2014 8:42 pm Post subject: |
|
|
my wife always says that im a lucky guy  |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Feb 05, 2014 12:41 am Post subject: |
|
|
Haven't test it again, but I got 1000Mbps connection by removing kernel driver and probe it again like
Code: | ifconfig eth0 down
rmmod sky2
modprobe sky2
/etc/rc.d/rc.inet1 eth0_restart |
Just give it a try...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Feb 05, 2014 9:18 am Post subject: |
|
|
is there any chance to do it with some script ? i don't have physical acces to the server and if i execute first command ifconfig eth0 down i will loose access to the server i think
or maybe im wrong ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Feb 05, 2014 3:06 pm Post subject: |
|
|
The above it's a script already, just add the above to /etc/rc.d/rc.local or create a new one like
Code: | #!/bin/sh
ifconfig eth0 down
rmmod sky2
modprobe sky2
ifconfig eth0 up
/etc/rc.d/rc.inet1 eth0_restart |
Do you have physical access in case something goes wrong?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Feb 05, 2014 3:16 pm Post subject: |
|
|
i can only power off and on
i manage to do above with command
ifconfig eth0 down && rmmod sky2 && modprobe sky2 && ifconfig eth0 up && /etc/rc.d/rc.inet1 eth0_restart
its not working
i found that this is sky2 driver problem, i dont have knowledge to install original sk98lin driver from marvell website (its recomended) i get some error when i try to install it by
install.sh -s && reboot
smth happens and its not working
i succesfully compile and load (!!!) the sk98lin driver for marvell 88E8053 but still i only could get 100MB link, dont know what to do, end of ideas |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Feb 05, 2014 5:27 pm Post subject: |
|
|
OK! If you built the driver and it's loading you must blacklist the sky2...
"lsmod|grep sk98lin" should list it...
Create a file /etc/modprobe.d/marvell.conf
If anything goes wrong, you would need physical access though, to re enable ethernets...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|