Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Router ping response really slowing of late...

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
TRS-80 vet's Avatar
Distinguished Member with 2,684 posts.
 
Join Date: Jun 2005
Experience: Beginnerd/Mensan -
31-Oct-2009, 08:06 PM #1
Router ping response really slowing of late...
...and pages loading slow as well in FF/Gnome.

Seemed like it was slowing menu (rt click) pop-ups of late, so I deleted the History library. Related at all to networking speed?

64 bytes from 192.168.0.1: icmp_seq=2623 ttl=127 time=9.05 ms
64 bytes from 192.168.0.1: icmp_seq=2624 ttl=127 time=7.80 ms
64 bytes from 192.168.0.1: icmp_seq=2625 ttl=127 time=7.94 ms
64 bytes from 192.168.0.1: icmp_seq=2626 ttl=127 time=3.64 ms
64 bytes from 192.168.0.1: icmp_seq=2627 ttl=127 time=6.61 ms
64 bytes from 192.168.0.1: icmp_seq=2628 ttl=127 time=7.66 ms
64 bytes from 192.168.0.1: icmp_seq=2629 ttl=127 time=17.9 ms
64 bytes from 192.168.0.1: icmp_seq=2630 ttl=127 time=2.84 ms
64 bytes from 192.168.0.1: icmp_seq=2631 ttl=127 time=3.48 ms
64 bytes from 192.168.0.1: icmp_seq=2632 ttl=127 time=2.35 ms
64 bytes from 192.168.0.1: icmp_seq=2633 ttl=127 time=28.6 ms
64 bytes from 192.168.0.1: icmp_seq=2634 ttl=127 time=8.98 ms
64 bytes from 192.168.0.1: icmp_seq=2635 ttl=127 time=4.84 ms
64 bytes from 192.168.0.1: icmp_seq=2636 ttl=127 time=5.15 ms
64 bytes from 192.168.0.1: icmp_seq=2637 ttl=127 time=2.03 ms

This is an AMD Turion 64 x2 cpu, not exactly a slow cpu...

Any ideas? What kind of 'stuff' accumulates in Ubuntu, that needs cleaning out?
lotuseclat79's Avatar
Distinguished Member with 14,999 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
01-Nov-2009, 02:02 PM #2
Router ping performance is not dependent on accumulated 'stuff' in Ubuntu.

Looks like 17.9 and 28.6 ms times are on the high side.

How many computers/devices are hooked up to your router, and if any, what was running concurrently when you ran the above ping test? What router do you have?

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
briealeida's Avatar
Computer Specs
Senior Member with 660 posts.
 
Join Date: Jun 2007
Location: US and A
Experience: Ninja
03-Nov-2009, 05:19 PM #3
Additionally, and this may sound crazy, but make sure your power and data cables are not running close together. This can cause issues, sometimes similar to what you are describing.




(This actually happened to me at work once before in a test lab and it was a nightmare to figure out but I got there. :-).)
__________________
--
Brie Aleida
http://areyououtofyourvulcanmind.com
TRS-80 vet's Avatar
Distinguished Member with 2,684 posts.
 
Join Date: Jun 2005
Experience: Beginnerd/Mensan -
03-Nov-2009, 11:24 PM #4
Pinging stopped and intermittent return is:

HTML Code:
ping: sendmsg; no buffer space available
Some process is consuming buffer space.

After 10 minutes or so of power up, page loading slows down. 2 pages open, then a cli for pinging, one machine connected to the router. Router is EH100. Ping speed other machine (AMD1.6g) under 2.5ms.

I went to another machine to do comparison pingspeed, came back to this one, and it was locked up. COMPLETELY.

Nothing has changed since 8.04 got loaded at release time. Updates, and nothing else.

Yup, wiring crossed over, looped, knotted, etc., affects signal/electron flow. Mine is as it has been - nothing has changed.
Quote:
If so, do it, and issue the command free
Not exactly understanding this command 'free'... From X-server cli? Or from GRUB command prompt?

X-server cli return:
Quote:
chuckbhp@chuckbhp-laptop:~$ free
total used free shared buffers cached
Mem: 2009696 612496 1397200 0 15356 319036
-/+ buffers/cache: 278104 1731592
Swap: 0 0 0
chuckbhp@chuckbhp-laptop:~$


What does this tell me?
Attached Thumbnails
Router ping response really slowing of late...-screenshot.png  

Last edited by TRS-80 vet : 03-Nov-2009 11:32 PM.
TRS-80 vet's Avatar
Distinguished Member with 2,684 posts.
 
Join Date: Jun 2005
Experience: Beginnerd/Mensan -
03-Nov-2009, 11:38 PM #5
'free' post reboot; no browser window open...

Attached Thumbnails
Router ping response really slowing of late...-screenshot-1.jpg  
TRS-80 vet's Avatar
Distinguished Member with 2,684 posts.
 
Join Date: Jun 2005
Experience: Beginnerd/Mensan -
03-Nov-2009, 11:44 PM #6
What means 'swap' 0 0 0 ???

Is my swap partition space not being used???

Attached Thumbnails
Router ping response really slowing of late...-screenshot-2.jpg  
lotuseclat79's Avatar
Distinguished Member with 14,999 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
04-Nov-2009, 09:59 AM #7
Issue the command:
$ sudo fdisk -l
which will tell you which Linux partitions are swap partitions and how may 512 blocks are allocated to it (or is that 1024 byte blocks - have to check - read the man page for fdisk, i.e. $ man fdisk.

I know that there are commands or graphical interfaces for setting swap space to zero that or turns paging off. Essentially, the swap space is used by the OS for paging. If you are running a lot of applications at the same time, some pages by one process may be paged out to accomodate another process with not enough virtual memory on hard disk.

Your results from the free command indicates you have lots of buffer space and free space. I found out yesterday that if free runs out the OS allocated from cached - and both are about RAM not disk. Swap is different - used for virtual memory paging on hard disk by the OS to RAM used by the OS to support user process execution.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
TRS-80 vet's Avatar
Distinguished Member with 2,684 posts.
 
Join Date: Jun 2005
Experience: Beginnerd/Mensan -
04-Nov-2009, 11:13 AM #8
Doesn't Windows use page file/swap/VM synchronously with RAM??? I guess Linux does not use them synchronously???

And what's the significance of a partition NOT ending on a cylinder boundary???




chuckbhp@chuckbhp-laptop:~$ sudo fdisk -l
[sudo] password for chuckbhp:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b36bdea

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1594 12803773+ 7 HPFS/NTFS
/dev/sda2 3121 10769 61440592+ 83 Linux
/dev/sda3 10770 14593 30716280 5 Extended
/dev/sda4 1595 3120 12257595 83 Linux
/dev/sda5 10770 11788 8185086 83 Linux
/dev/sda6 14122 14593 3791308+ 82 Linux swap / Solaris
/dev/sda7 11789 12297 4088511 82 Linux swap / Solaris
/dev/sda8 12298 14121 14651248+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x393115b2

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7988 64159712+ 7 HPFS/NTFS
/dev/sdb2 13526 14593 8571904 7 HPFS/NTFS
/dev/sdb3 7989 10541 20506972+ 5 Extended
/dev/sdb4 10542 12644 16892347+ 83 Linux
/dev/sdb5 7989 10541 20506941 83 Linux

Partition table entries are not in disk order

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000df049

Device Boot Start End Blocks Id System
/dev/sdc1 * 50994 101986 409601272+ 7 HPFS/NTFS
/dev/sdc2 101987 182401 645933487+ 7 HPFS/NTFS
/dev/sdc3 1 50993 409601241 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xff94664c

Device Boot Start End Blocks Id System
/dev/sdd1 1 50993 409601241 7 HPFS/NTFS
/dev/sdd2 50994 101986 409600000 7 HPFS/NTFS
/dev/sdd3 101986 182402 645935104 7 HPFS/NTFS

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dc06575

Device Boot Start End Blocks Id System
/dev/sde1 * 1 244 1953125+ 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sde2 244 12766 100585938 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sde3 12766 30402 141659488 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/sde4 30402 121602 732561408 f W95 Ext'd (LBA)
/dev/sde5 30402 94143 512000000 7 HPFS/NTFS
chuckbhp@chuckbhp-laptop:~$





And of course, the original question persists: what's consuming the buffer space?

I said before that it must be some process, but perhaps it's a stability issue? I hardly ever have several applications running at the same time.
lotuseclat79's Avatar
Distinguished Member with 14,999 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
04-Nov-2009, 05:47 PM #9
Hi TRS-80 vet,

Wow! 4TB of disk space in 3 disks - that's a whole lotta disk space you got there.

I have 4 disks but they are 2 - 40GB and 2 - 80 GB, but I am looking to add a 1TB disk for backup.

As far as I know, the issue of buffer space is that if buffer space gets exhausted, then the system allocates from cached - so it should not be an issue.

You can monitor performance of processes by issuing the top command. Give it a try.
Also, read the man page for top - i.e. $ man top

I see that you have a mix of partitions where sda1 and sda3 are not adjacent (both used for Windows though), the rest for Linux. I prefer to separate my hard drives and OSes, i.e. one OS per hard drive, with potentially a grub boot menu on the first hard drive which is usually a Windows OS.

Then I save the MBR of each disk into separate files if things go wrong and the MBR gets toasted. I wrote a thread about the experience and the saved MBR saved my butt.

If a partition boundary does not end on a cylinder boundary then it usually means that part of a cylinder may not be used where the partition would span more than one cylinder. You might try searching for more information on that topic and consider reorganizing your partitions depending on what the consensus is about the issue.

It does not affect the operation of your system as far as I know, but is probably just not as efficient in places as it is capable of being.

Note: I think it may probably be a configuration problem is you are still getting swap 0 0 0 when you issue the free command. Perhaps it is having an affect on the buffer - cache relationship.

Please visit the Ubuntuforums.org and use the Advanced Search window to search for the problem: running out of buffer space - there might be an answer to the problem there.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein

Last edited by lotuseclat79 : 04-Nov-2009 05:55 PM.
GTechWiz's Avatar
Member with 74 posts.
 
Join Date: Nov 2009
12-Nov-2009, 06:06 PM #10
If your ping (bandwith) is slow, it appears to me that you have been using BitTorrent, to download stuff, which in essense will get EVERYONE and their borther pinging you back....

This in turn will slow down your ISP and internet connection, the sollution, is simple, load on to windows, with windows firewall up and run the internet there for some time, then CLOSE the LAN, ie disable it.

Log back onto ubuntu, make sure you use your firewall BEFORE you turn on your internet. (In fact, unplug your modem FIRST)

Leaving your modem completely unplugged for 5 - 10 minutes can clear up the pingers sometimes. (for they dont' see you anymore)

This can solve slow internet problems, I've ran into this using Ubuntu multiple times, this has worked like a charm for me EVERY TIME!

Hope this helps...
Reply Bookmark and Share

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 12:47 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.