LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2013, 08:15 AM   #1
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Rep: Reputation: Disabled
Small LAN testing and discovery


I have a small home LAN mostly 1000Gbit.

PC, Printer, Network Storage, Home Media/Satellite TV Etc.

Eight items in total through a switch in my attic.

Is there software which I can run on my Ubuntu 12.40 workstaion which diagramaticaly shows the network and performs speed tests between the various pieces of kit?
 
Old 08-10-2013, 09:24 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
The two ways I know to perform speed test are by writing/reading files or running a client / server utilities like netio or via netcat. I am not aware of any built in tool for printers etc.

I do not know of a single utility that will discover devices as well as perform speed tests. Zenmap is a frontend for nmap which will find network devices.
 
Old 08-13-2013, 10:19 PM   #3
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Search for software that make use of SNMP, however, I am not sure if there are printers/home media stuff that implement SNMP.
 
Old 08-13-2013, 11:26 PM   #4
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
I have used etherape and nmap for such purposes.
Here is a link to etherape http://etherape.sourceforge.net/
nmap can be had at nmap.org. I beleive some distros include nmap.

Last edited by fogpipe; 08-14-2013 at 02:53 AM.
 
Old 08-14-2013, 07:57 AM   #5
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Thanks both.

I have used etherape and nmap in the past, thanks for the reminder fogpipe.

I guess I will have to stick with a sledge hammer to crack a nut approach until someone designs a cheap an chearful application.
 
Old 08-14-2013, 09:18 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by hdp160 View Post
I have a small home LAN mostly 1000Gbit.
PC, Printer, Network Storage, Home Media/Satellite TV Etc. Eight items in total through a switch in my attic.

Is there software which I can run on my Ubuntu 12.40 workstaion which diagramaticaly shows the network and performs speed tests between the various pieces of kit?
From PC to PC, you can just create some files of fixed size (say 100MB, 500MB, 1GB, 2GB), and transfer them between the two boxes using some protocol, and time it. Simple math will tell you how fast it went, and you can figure an average with the different file sizes. Use whatever protocol the NAS device uses, so you compare apples-to-apples.

However, aside from the 'just-wanting-to-know' factor....why? If you've got a gig-e switch, you're nowhere NEAR saturating that link, unless you're shoveling huge amounts of traffic all the time. The only thing you MIGHT be saturating is the CPU/Memory on the switch, and it should have some sort of web page/interface where you can query it.
 
Old 08-14-2013, 12:56 PM   #7
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
I stream video extensivly through the switch to several rooms.

I have no problems with SD quality but sometimes streaming HD quality at the same times as moving large files between storage results in the video stuttering.

Its not a show stopper but I've realised that I don't really understand where and how severe any bottlenecks are.

These are early days to understanding my network, I like the idea of moving standard size files around.

I will probably try that soon to see what effect this has.
 
Old 08-14-2013, 02:13 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by hdp160 View Post
I stream video extensivly through the switch to several rooms.

I have no problems with SD quality but sometimes streaming HD quality at the same times as moving large files between storage results in the video stuttering.

Its not a show stopper but I've realised that I don't really understand where and how severe any bottlenecks are. These are early days to understanding my network, I like the idea of moving standard size files around.

I will probably try that soon to see what effect this has.
Well, run the tests when there is NO other traffic on the network, so you can get a baseline. Also, even though you have a gig-e switch...are all your DEVICES gig-e too?? WiFi isn't (yet), and some hardware devices (depending on age), may only have a 100MB/s connection.

And be sure to check your switch...there may be a way to see the CPU/memory usage on it, and with small switches, that can often be the bottleneck. There's a reason the $200 switches work better than the $49, even though both are gig-e.
 
Old 08-15-2013, 03:34 AM   #9
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Yes all the equipment refered to have 1000MB/s cards.

(When I mentioned "mostly 1000MB/s" I was of course refering to some legacy kit and some WiFi links which I know the limitations of)

My Switch is certainly sub £30 its an 18 month old, TP-LINK TL-SG1008

8-Ports of 10/100/1000 Gigabit connectivity
Adopts Green Ethernet technology,
Supports IEEE 802.3x flow control for Full-Duplex mode and backpressure for Half-Duplex mode
Non-blocking switching architecture that forwards and filters packets at full wire-speed for maximum throughput
Supports MAC address auto-learning and auto-aging

Or that what it says on the box ;-)

All 8 Ports show the second row of LEDs illuminated (indicating Gigabit traffic)

Bottlenecks are probablly within the buses which the various Gigabit cards plug into maybe?

Last edited by hdp160; 08-15-2013 at 03:37 AM.
 
Old 08-15-2013, 09:35 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by hdp160 View Post
Yes all the equipment refered to have 1000MB/s cards.
(When I mentioned "mostly 1000MB/s" I was of course refering to some legacy kit and some WiFi links which I know the limitations of)

My Switch is certainly sub £30 its an 18 month old, TP-LINK TL-SG1008

8-Ports of 10/100/1000 Gigabit connectivity
Adopts Green Ethernet technology,
Supports IEEE 802.3x flow control for Full-Duplex mode and backpressure for Half-Duplex mode
Non-blocking switching architecture that forwards and filters packets at full wire-speed for maximum throughput
Supports MAC address auto-learning and auto-aging

Or that what it says on the box ;-) All 8 Ports show the second row of LEDs illuminated (indicating Gigabit traffic)
Bottlenecks are probablly within the buses which the various Gigabit cards plug into maybe?
No, the bottlenecks are probably coming from the CPU/memory on the switch, as I've said before. Go onto the switch management webpage and you might be able to see the device usage statistics. Or, query it with SNMP from your Linux system using snmpwalk, to find the CPU/Memory, and watch it during a big transfer.
 
Old 08-15-2013, 09:57 AM   #11
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
No, the bottlenecks are probably coming from the CPU/memory on the switch, as I've said before. Go onto the switch management webpage and you might be able to see the device usage statistics. Or, query it with SNMP from your Linux system using snmpwalk, to find the CPU/Memory, and watch it during a big transfer.
I think your definatly correct but unfortunatly the switch TL-SG1008 is unmanaged.

I remember using SNMP on several Novell systems years ago before I retired.

Thanks for your help, lots of useful ideas have been raised.
 
  


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
Use Debian Testing repository on Damn Small Linux LexMK Linux - Software 9 11-28-2012 12:36 AM
SNR testing on LAN and WAN metallica1973 Linux - Networking 0 12-13-2006 03:51 PM
LAN Speed testing/benchmarking app? kz26 Linux - Networking 1 08-17-2005 01:50 AM
php site testing on my local LAN duffboygrim Linux - General 2 05-16-2004 02:54 AM
LAN speed testing Paul_assheton Linux - General 3 05-03-2002 05:24 AM

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

All times are GMT -5. The time now is 12:15 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