LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2011, 01:38 AM   #1
ps1x0
Member
 
Registered: Jan 2011
Posts: 35

Rep: Reputation: 0
Strange "LAG" while using CP command


Hey,

I'm currently using debian 6.0.2 and I get strange LAG while using the CP command.

The whole machine lags and especially the gameservers that are running on it (hlds, srcds).

Ping in the gameservers is normal, but it's laggy...

HDPARM result:

hdparm -Tt /dev/sdb

/dev/sdb:
Timing cached reads: 6356 MB in 2.00 seconds = 3179.15 MB/sec
Timing buffered disk reads: 178 MB in 3.01 seconds = 59.06 MB/sec


Sometimes speed is only 30 MB/sec. I don't think that that's normal?

I also noticed, that when I start XX servers, all of them start lagging.
I had no such problem while using debian 5. I'm using a custom kernel, but that shouldn't be the problem, since all of my other machines (still using debian 5) are with the same kernel config and they have no problems.
 
Old 10-10-2011, 10:27 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Do you have gkrellm installed on that thing? If you do, start it and watch what it's telling you; if you don't install it from wherever you get distribution software (or http://members.dslextreme.com/users/...m/gkrellm.html).

By the way, on my quiescent system
Code:
hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   4314 MB in  2.00 seconds = 2157.02 MB/sec
 Timing buffered disk reads: 370 MB in  3.00 seconds = 123.29 MB/sec
Hope this helps some.
 
Old 10-10-2011, 12:42 PM   #3
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
personally I think just looking at the time it takes to perform an operation and look at the average rate doesn't say too much. is the overloaded? how about interrupts? what's the network doing? could some other app be hogging the disk? if a real shot test, how about looking at these numbers every 0.1 second to see what's really happening, eg try collectl.

ideally you should run it continuously logging data to a file and when things slow down, play the data back and see what was going on.

-mark
 
Old 10-10-2011, 05:05 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Maybe try latencytop. Be careful interpreting it though - my top guy at the moment is "opening cdrom device". Haven't used it in weeks .....

I suspect yours will be different.
 
  


Reply



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
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 11:05 AM
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
qmail: strange output of "file" command slowleak Linux - Security 1 08-10-2001 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:08 AM.

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