Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got an NTFS drive mounted and on I/O it generates huge amounts of load. I'm now running my CPU (amd fusion dual core) at 100%... both.

My load average is 3.47 at the moment. Anyone an idea to lower this load ? (apart from using ext4 ;) )

share|improve this question
    
Check out the ntfs-3g FAQ first: tuxera.com/community/ntfs-3g-faq/#highcpu –  arrange Jan 8 '12 at 21:07
    
Yea but I'm using 11.10, shouldn't it have the latest version then ? –  Lucas Kauffman Jan 9 '12 at 11:05

1 Answer 1

High CPU usage on a linux system writing to an NTFS volume can come from a number of sources, as described on tuxera (the maintainer of ntfs-3g). They make an optimized, comercialized version of an ntfs driver, but this isn't open-source, nor is it easily available. If you're committed to NTFS, you're stuck with this less stream-lined ntfs-3g driver.

http://www.tuxera.com/community/ntfs-3g-faq/#highcpu

Assuming you are using a recent version of ubuntu, with a recent version of ntfs-3g, then options are programs frequently reading/writing big chunks of data to the drive, application frequently accessing the drive (such as rsync), the drive being connected via a slow usb connection (possibly the usb port speed slowed down by a slow device/hub being attached), VMWare using temp files on the ntfs drive, or the drive being excessively fragmented (lots of debate around this issue, many people saying the drive shouldn't get too fragmented for linux unless you are also booting an installation of windows off of that drive). Read the above link for more information about these and more.

My solution was to go to my fstab and modify the mount line to include big_writes in the options (ie: defaults,big_writes ....). This caused it to write big chunks, rather than smaller chunks.

Disabling samba access to the drive and shutting down python scripts accessing the drive didn't have any impact for me.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.