LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-16-2004, 02:18 PM   #1
Pyroteam
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
100% CPU usage while I copy files....


But UDMA is on (mode 4) and speed is right! Here is my summary from hdparm

[root@localhost pyr0]# hdparm -i /dev/hdb

/dev/hdb:

Model=WDC WD102AA, FwRev=05.05B05, SerialNo=WD-WMA0M1988091
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=20044080
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4

* signifies the current active mode

------------------------------------------------------------------------

[root@localhost pyr0]# hdparm -tT /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 1064 MB in 2.00 seconds = 531.55 MB/sec
Timing buffered disk reads: 62 MB in 3.08 seconds = 20.11 MB/sec
------------------------------------------------------------------------------
Mainboard MSI KT4AV (KT400A chipset), FS- ReiserFS, WD 10 GB 5400 rpm, Mandrake 10, default kernel 2.6.3-7mdk

I have no idea what can cause my problems....I have checked several forums but I didn't found how to solve this problem

Thanks

Have a nice day
 
Old 10-17-2004, 03:09 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Er, sorry... what is the problem? 100% CPU usage shouldn't be a problem unless it's preventing you from doing other things. If copying files is bogging other things down, perhaps it would help to run copy commands with a lower priority, for instance 'nice -n 15 cp ...' (see the manual page for 'nice'). Anything involving intensive disk usage is likely to make other processes a little more sluggish, especially if a lot of them are trying to use the disk at the same time. The CPU isn't really the bottleneck in those situations.
 
Old 10-23-2004, 04:43 PM   #3
Pyroteam
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
This problem dont preventing me from normal work (browsing net, writing dociments) but when I playng UT2004 I can see brutal dropping of FPS when disk read and use SWAP. Where I can find documentation about "nice" that you mentioned? But I will be very happy if you know how to solve this problem and write here complete solving...or somebody else

Thanks
 
Old 10-23-2004, 10:36 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Open a terminal window (Konsole, Xterm, RXVT or whatever you have) and type 'man nice' or you can read it online.

It's sort of unusual to have swap space being used in Linux, unless you don't have much RAM. How much RAM do you have? I have 512MB, and my swap partition has only been used a couple times. Though, maybe UT2004 uses more RAM than I normally use...

You said the problems were occurring when you were copying files - are you copying files and trying to play UT2004 at the same time? If so, some frame dropping is probably to be expected - heavy disk usage can slow almost anything down, regardless of whether it's consuming any CPU.
 
Old 10-24-2004, 04:17 AM   #5
Pyroteam
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
It dont using SWAP in KDE but only sometimes when I playng UT2004 big map. I have 512MB.

Quote:
You said the problems were occurring when you were copying files - are you copying files and trying to play UT2004 at the same time?
Im not as noob as you think I think my problem occurring in every disk activities (searching, reading) but I cant confirm this because this is problem of my friend and he is away from home. And I cant get to his PC.

Quote:
heavy disk usage can slow almost anything down
In Windows I have just 10% usage when I copying files. However I have Xp 1600+.

Sorry for my not very good english
 
  


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
CPU Usage goes to 100% when pthread_cond_wait is being used zen_buddha Programming 0 10-13-2005 03:48 AM
CPU permanently 100% usage dangerousdave Linux - Newbie 2 02-18-2005 01:23 PM
BZFlag 100% CPU Usage pjpeter Linux - Games 5 10-10-2004 08:48 PM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM
100 % CPU usage ???? rolandi Linux - Newbie 1 10-07-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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