100% CPU usage when writing to disk

Hi.
I have an Athlon XP 2000+ with 768 MB RAM, a SATA disk, formated to ntfs (running XP) and a IDE disk running Arch (ext3, KDE).
When I copy a big file, the CPU usage stucks to 100% . Doesn't matter the disk I write to or from. The CPU usage is always 100%.
My maximum writing speeds are:
ntfs-3g-->ext3 max ~30 MB/sec
ext3-->ext3 max ~28 MB/sec
ext3-->ntfs-3g max ~15MB/sec
ntfs-3g-->ntfs-3g max ~15 MB/sec
I understand that writing to ext3 is much faster because it is a native linux fs, but I cant understand why the high CPU usage.
While coping, ksysguard shows that the progress with the higher system% is kio_file when coping ext3-->ext3, or kio_file and ntfs-3g, when coping from or to a ntfs disk.
The problem is not with the CPU, in windows the writing speed is higher and the CPU usage is much lower. So I thing this is an Arch configuration problem but don't know where exactly to look. Searched the forum but didnt find any solution.
Any ideas? Anyone with similar problems?
Last edited by matersci (2007-09-09 22:37:00)

with hdparm -I /dev/sda I get:
hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
        Model Number:       Maxtor 6L200M0
        Serial Number:      L41ZFT2C
        Firmware Revision:  BACE1G10
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 0
        Supported: 7 6 5 4
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  398297088
        device size with M = 1024*1024:      194481 MBytes
        device size with M = 1000*1000:      203928 MBytes (203 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: unknown setting (0x0000)
        Recommended acoustic management value: 192, current value: 254
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_VERIFY command
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
                Advanced Power Management feature set
                SET_MAX security extension
           *    Automatic Acoustic Management feature set
           *    48-bit Address feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
                Media Card Pass-Through
           *    General Purpose Logging feature set
           *    WRITE_{DMA|MULTIPLE}_FUA_EXT
           *    URG for READ_STREAM[_DMA]_EXT
           *    URG for WRITE_STREAM[_DMA]_EXT
           *    SATA-I signaling speed (1.5Gb/s)
           *    Native Command Queueing (NCQ)
                Software settings preservation
           *    SMART Command Transport (SCT) feature set
           *    SCT Data Tables (AC5)
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
Checksum: correct
It says ATA device, with non-removable media but this is a SATA disk!
Also,
#  hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads:  166 MB in  3.01 seconds =  55.23 MB/sec (SATA Disk)
and
#  hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads:  176 MB in  3.02 seconds =  58.26 MB/sec (IDE Disk)
hdprm says dma is on for the ide disk, but says nothing about dma for the SATA.
I think the problem is because the kernel recognize the SATA disk as IDE.
Last edited by matersci (2007-09-19 20:24:10)

Similar Messages

  • Server 2012 R2 100% cpu usage when using search

    Hi all!
    We are experiencing issues with the built in search in WS 2012R2 (Win+Q). Upon starting to type, the explorer.exe process peaks and stays at 100% until typing is done and the search is complete. It also can't keep up with typing and hangs after
    a few keystrokes. We have done tests on 2012 R2, 2012 and 2008 R2 running as VMs with 1 cpu. The tests performed have been run on a host running only the test VM with underlying 2x8 core cpus, SSD, SAN storage and 256GB RAM. Also, we have tested
    both Hyper-V and VMware ESXi 5.0. We see that if we add another CPU to the guest it alleviates the keystroke lagging, but the explorer.exe still consumes 100% cpu.
    When the same tests are run on a physical machine (approx. same specs as the virtualization hosts) the cpu usage reaches 15-20% on one of the physical sockets (numa node). Totally negligible, but still a high number.
    We are afraid of service impact and are keen to know if anyone else is experiencing the same? Maybe someone has a fix?

    Hi TrondWH,
    Thanks for contacting Microsoft.
    Currently, would you please try cleaning boot the server and test how the issue goes. Cleaning boot can exclude some third-party application affect. Following are the detailed steps about clean boot:
    Log on to the computer by using an account that has administrator rights.
    Click Start, type msconfig.exe in the Start Search box, and then press ENTER to start the
         System Configuration Utility.
    On the General tab, click Selective Startup, and then click to clear the Load startup items check box. (The Use Original Boot.ini check box is unavailable.)
    On the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.
    Click OK, Choose Don’t show this message again and then click Restart.
    Please check if the issue is still the same.
    Please let me know the result.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Upgrade to iTunes to 10.4.0.80 caused 100% CPU usage when I start iTunes. Task manager shows iTunes 50% mobile 50%. I am running Windows XP Professional sp3. iPhone 3 ios 4.3.5

    I upgrade to iTunes 10.4.0.80. Since then iTunes uses 50% of the CPU and Mobile uses 50% CPU. I let it run for hours and the CPU usage stayed at 100%. The phone will partially sync but takes a very long time. This was not a problem before the iTunes upgrade. I am running iTunes on Windows XP professional SP3. It does not matter if the phone is connected to the USB port of the PC. When iTunes starts it runs the CPU at 100%.

    Yes!  I am not the only one with this problem.  Ever since the latest iTunes update, the CPU runs up to 100% using both the mobiledevice and itunes itself.  The store won't work either!  I'm also on Windows XP.  I too have tried everything I can think of but nothing has helped.  I really hope they get an update out with fixes soon.  This is really annoying!!

  • Bug!?! 100% CPU usage when referencing secured JARs in unsecured JNLP

    hi,
    i think i just found a bug in jws but i'm not sure yet. it would be nice if somebody can verify this before i create a bug report.
    this is my JNLP file (test.jnlp):
    <jnlp ...>
      <information>
        <title>Test</title>
        <shortcut online="true">
          <desktop/>
        </shortcut>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="always" policy="always"/>
      <resources>
        <java version="1.6"/>
        <jar href="jar/mySecuredJar.jar" download="eager" main="true"/>
      </resources>
      <application-desc main-class="test.MyTest"/>
    </jnlp>this is the file structure on the server:
    download/      // public folder
       test.jnlp
       jar/        // private folder secured via basic authentication
          mySecuredJar.jarwhen i access the jnlp file for the first time via browser the jws login dialog opens asking me for credentials since test.jnlp internally references a jar that is in a secured area. while this jws dialog is open my cpu usage is normal - javaw.exe takes about 5%.
    however, when i open my application for the 2nd time via desktop shortcut, the jws authentication dialog opens again (jws looks for updates of my jar before the application starts) and javaw.exe takes about 95% of my cpu as long as the dialog is open!!!
    when i put the jnlp file in the secured area as well, everything works smoothly. however, this forces users to enter credentials in a browser authentication dialog (browser needs to access the secured jnlp) as well as in the above mentioned jws authentication dialog.
    can anybody reproduce this? should i file a bug report?
    i tested this on win xp with jre 1.6.0_11.
    regards,
    stephan

    Please, [file |http://javafx.netbeans.org/issues/enter_bug.cgi?component=javafx] an issue on it.

  • I have very high 100% CPU usage when I run itunes.

    Normally I don't have any problems, but now when I start iTunes it eats up my CPUs.  Any thoughts?

    I am having this same problem. When running iTunes on my macbook pro, i notice my CPU usage is hovering around 94-97% constantly. Has anyone found out why?

  • 100% cpu usage when opening itunes or quicktime, please help!

    every time i open itunes or quicktime my windows laptop centrino´s core jumps to 100%, even when the programs are idle!!
    -i tried reinstalling them, manually removing any leftover program files and folders.
    -Right-clicking on the QuickTime folder and clicking Delete from the shortcut menu.
    -Navigate to C:\Windows\system32\.
    -Remove the files QuickTime.qts and QuicktimeVR.qtx.
    nothing works...
    now i cant listen to music with only my batteries anymore!
    windows media player ***** and the new version 11 is a lot worse, but it uses just about 10% of my processor.
    thank you for your help!
    gateway centrino mx6618m   Windows XP  

    hi captain
    actually i noticed the problem in the first place when cheching the task manager. 97% itunes 3% taskmanager.
    i wish i could know what all those other tasks are and end them (some are obvious but other arent), but it wouldnt solve my problem.
    still thank you
    XP centrino laptop Windows XP

  • 100% CPU usage when importing cd and downloading from store, please help!

    I am using itunes 8.2.1.6. The problem is that whenever I import a cd or download any music from the store my cpu runs at 100%. I have a pentium 4 (which manages nicely with any other task, even importing cd's with another programe) with 3gb RAM.
    Is anybody else having this problem? Does anybody know how to fix it?

    Mr. Bump

  • Queue consumer stops with 100% cpu usage

    I'm trying to use Berkeley DB queue with transactions. When I tested what happens when transactions with DB_APPEND are aborted I found that while it works and DB_CONSUME correctly skips over rolled back records, unfortunately extents that have those records are never deleted, which causes database to always grow. Next I tried DB_CONSUME with database opened using DB_INORDER flag and it seems there's a serious regression in Berkeley DB that causes it to loop indefinitely with 100% cpu usage when it encounters a rolled back record. I tested various versions and found that this bug doesn't happen with 5.1.29, but it is reproducible with 5.2.42, so this regression might have been introduced in 5.2. I have also tested 5.3 and 6.0, and both have this behavior. There may be something wrong with the way queue records are rolled back, one indication of that would be that in 5.1.29 doesn't have neither of the two problems I found with DB_QUEUE: extents are deleted after being consumed, and there are no issues when consuming with DB_INORDER either.
    You can find Python code to reproduce this issue here:
    https://gist.github.com/snaury/027a3c546f5b0a62a440
    Sorry for using Python and not e.g. C++, but it's a lot shorter that way.

    We have looked at the issues and they are valid.   We will roll the fixes out for this in our next release of BDB.   The test case was very useful and really helped to speed the process up.    If you have any questions, please contact me directly at [email protected]  Thanks again for bringing this to our attention.
    thanks
    mike

  • 100% CPU usage with XP Cooler from PCAlert4

         Any idea why I would be running 100% cpu usage when running XP Cooler from PCAlert4?  I noticed PC was sluggish when running it so CTRL+ALT+DEL and under performance is 100% CPU with 245MB Ram Usage. No other TSR's running - several application but under 10% CPU usage without PCAlert and XP Cooler.
         I was also wondering if anyone had any ideas on the video?  I have the K7N2G with 768MB DDR PC 2100 (3x256) XP2200+ 266FSB running 1804MHz - Maxtor 30GB 7200RPM - 350W PSU (raidmax - yea yea I know, dont say a word though LOL) on board video and here is the problem - graphics are great, but they get choppy - running NFS HotPursuit 2 at 32bit 800x600 (doesnt seem to matter even when running 16bit 640x480still does it.) what setting am I missing?  Thanks in advance.

    Deathstalker (Richard),
         I did what you suggest in memory management and also changed out the mem on the board - it did make a difference, not as much as I had hoped, but it did.
    Raven,
         I have used Fraps in the past, forgot about it, but went ahead and downloaded it to get a better look.
    To the Both of you,
         Thanks so much for your replies, sometimes it just takes someone outside looking in to see the things overlooked.  But I went ahead and also ran all of the latest updates for the board (semi new system and I only installed with the CD that came with the Mobo) and everything is running better than expected.  Thanks again for your thoughts - keep 'em flowin, it's amazing whom we could help.  Take care.
    Don

  • My laptop (win7 2ghz, 1gig) has 100% cpu usage with itunes installed (even when not running itunes) since the upgrade.  i had to uninstall.  tried installing but still the same problem.  my daughter wants the new ipad, but this is a serious problem.

    when itunes upgraded my laptop went to 100% cpu usage.  only solution was uninstall.  have tried itunes again as my daughter wants the new ipad.  still same problem tho so not keen to spend £400 on new pad without pc support.  anyone help?  (ps been using ipod touches 1 and 2, been great source of pleasure for my two girls, but cant sync them, so using the little shuffles for music, syncing to an old version of itunes on an old netbook - had the sense to switch off upgrades when the new version went wrong)

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • 100% CPU usage... does anyone else get this?

    Here is my code. I would have simplidied it for you... but I honestly have no idea where it went wrong.
    One second it is running fine, the next it starts taking up 100% of my CPU cycles. I can't figure out what I did to it to make it do this... nothing I added creates an infinite loop or infinite threads. It's just... weird.
    The code is probably too big for anyone to look at and tell me what's wrong, but can someone else download it and tell me if you also get 100% CPU usage? It needs to be run on Windows... it uses a couple JNI calls that are Windows-specific. Those calls were the first place I looked when trying to find the problem, but I have not changed that part of the code for a long time, and it has never been a problem before.
    Don't run the bat file... just navigate to the Watchdog2 directory and do 'java Watchdog'.
    Are there any tools that can help me figure out where the program is getting hung up? It's not freezing at any specific spot... just moving super slow and taking up 100% of my CPU. I'm so confused...
    Message was edited by:
    L4E_WakaMol-King

    Nevermind!
    Sorry for the trouble. The problem was that last time I compiled the code, it reverted back to and older version of a class I had compiled days ago. Why it did this is totally beyond me... but it did, and it just so happens that the old version of that class combined with the new version of my program were the perfect recipe for an infinite loop.
    Seriously, if you are in inveterate debugger, you might get a good laugh out of this. I've spent the last week and a half trying to find a way to set the Windows console into cbreak mode (single character processing rather than line-at-a-time processing), and I finally managed to do it by writing some c code and putting it into a DLL with the JNI. So now my program (which runs from the console) can process each character as it is entered rather than waiting for a line return. The older version of the class that got reverted was one that used System.in rather than the input stream generated by the socket. I had set it to System.in for testing purposes, and apparently that testing version is the one it got reverted back to. So combine the two, and you have a console that is feeding System.in each character as it is pressed and a socket wrapper that is listening infinitely. It was a mess... but an uncannily serindipitous mess...
    Ahh... debugging... good time...

  • Low cpu usage when exporting

    Is it normal to have only 4-12% of cpu usage when exporting video out of ae? I´m exporting it from render queue.
    My computer is 2x dual 3,0 ghz prosessor, 8 gb ram, nvidia 8600 gt in xp professional x64
    thanks

    As Jonas suggested, CPU utilization may be somewhat low because the bottleneck isn't the processing of the data but moving (reading and writing) it.
    I'm not saying that this is necessarily what's going on for you, but it's worth pointing out that the CPU is often not the bottleneck.
    If disk I/O is what's slowing you down, one way that you can speed things up is to use three disks for your work: one to run the program from, one to store input assets, and one to write output files to.
    There are a lot of tips for improving performance in the
    "Improve performance" section of After Effects CS3 Help on the Web.

  • High CPU usage when editing large MXML files

    I am using Flash Builder 4.5 Plug-in on OSX. When I have a large MXML file open, Eclipse will consume 100% of the CPU as long as that file is open, even if I am not doing anything. If I close that editor the CPU usage goes back down. I've seen this in Flash Builder standalone as well as the plugin. Is there a workaround to stop this CPU usage problem?
    Thanks

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • Google Earth Plugin and LabVIEW: High CPU usage when adding placemarks

    Hi,
    I posted this question on stackoverflow earlier this week but feel it might be better suited to the LabVIEW community specifically so I'm reposting here:
    I'm writing an application which uses the Google Earth Plugin to display events on the globe. Each event is a single point kml placemark with an icon which is a 3kb png file. Placemarks are uploaded to the plugin as they are received by the software. I am experiencing increasing CPU usage with the number of placemarks that are added.
    I have tested displaying a new placemark every second and running until the software running the plugin completely froze (graph attached). The GEPlugin (green trace) stopped responding (i.e. the globe did not respond to the mouse) at around 1200 placemarks added and CPU usage was at ~30%. When the software itself (red trace) froze the plugin was using around 50% CPU and ~3700 placemarks had been added). After the freeze, no new placemarks were added which caused the software to respond (but not the plugin) so I could clear all the placemarks. After the placemarks were cleared from the globe, the CPU usage of the plugin returned to around 5% CPU.
    So what I've seen is that GEPlugin CPU usage increases linearly with each kml placemark added. Is this the expected behaviour/ a normal limitation of the plugin? If not is there a more efficient way of adding many placemarks to the globe?
    I am using GEPlugin version 7.1.1.1580 (API version 1.010) and LabVIEW 12.0f3
    Please see the test results attached. Any input greatly appreciated!
    Original stackoverflow post:
    http://stackoverflow.com/questions/20994323/google-earth-plugin-with-labview-high-cpu-usage-when-add...
    Attachments:
    Performance Log 020114_095115.png ‏82 KB

    Hello,
    I have had a look at your graphs and understood what you are trying to do. To me it seems that as the image gets more complex it gets harde to render which wold likely cause increase in CPU usage resulting in the freeze. I would suggest you try running the program on anoher computer to check on the RAM front of things. If this is a limitation of the GE Plugin then unfortunately I can not do much to help, but if you think this is a problem coming from your LabVIEW code then you can post your code here and I can take a look.

  • Problem:100 % cpu usage with tcp server dll

    Hello,
     I am trying to write a dll with labwindows/cvi that allows me to create a TCP Server. This dll is integrated in labview.I created this Dll with example provides by Labwindows/cvi(rtserver.dll).
    Description of my problem: when i execute this dll in a "While Loop" in labview,the TCp server wait a connection and 100% cpu usage occurs. However when a client is connect to the server,the CPU is normaly used because the program stop when he meets the timeout of the tcpread() function. I would like to know how i could limit CPU usage  when the server is awaiting a client in the labview "While loop".
    I know I could use a DELAY() to limit Cpu usage ,but I would like to know if there are any others solutions.
    thank you.

    i dont know your exact application, but i generally use Q to transfer data to TCP loop in my prgram it helps me in two ways.
    1. it automatically restricts the iteration when ther is no data (Less CPU Usage, Less Unnecessary Trafic)
    2. Q can eliminate problems arising due to non synchronization of loop
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

Maybe you are looking for

  • Why does iTunes keep launching?

    All of a sudden, out of the blue, iTunes keeps launching when an alarm goes off in the application Alarm Clock Pro (ACP).  My wife is a teacher and ever since August 2011 I created alarms to notify her five minutes before the end of her classes.  She

  • Ai acquisition external trigger rate in windows 2000/xp

    I'm doing repetitive measurements of the type described in the nidaq example DAQsingleBufExtTrig.C: iStatus = DAQ_Rate(dSampRate, iUnits, &iSampTB, &uSampInt); iStatus = DAQ_Start(iDevice, iChan, iGain, piBuffer, ulCount, iSampTB, uSampInt); while ((

  • Failed to Run Task Sequence 0x80040154

    I have been looking all over for some help with this one. I am pretty new to SCCM, but I setup a SCCM 2012 SP1 CU4 server.  I am using it for Endpoint Protection and Windows Updates. I have been reading on how to use PXE and have followed several gui

  • Mail App Crashes / Closes

    My Mail App crashes and closes every time I try to access it. I can open the app and it will begin to check the mail then it closes. It will not let me do anything in the short time it is open. I have used the account for months without issue. The Ap

  • How do you "unsuspend" a suspended job in GRID?

    Hello all, I have a GRID job that is running a RMAN backup, an incremental level=1 backup. This job runs at the end of each day. For several days now...it just fails with the error message: "An execution in the current run or one of the previous runs