Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-25-2006, 05:19 PM   #1
Registered: Sep 2005
Posts: 65

Rep: Reputation: 15
Limit disk I/O for a process


I've to run a backup process, which *highly* loads the system, it makes a lot of disk i/o and I want to reduce it so that the entire system doesn't become unresponsive.

I've tried reducing the priority with the "nice" command but it doesn't work for me, because as far as I know, the kernel automatically increases priority to i/o processes.

Any idea ??

Old 01-25-2006, 07:49 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
That depends on your backup tool. I use rsync for backup to an external USB HD. One of the advantages of rsync is the ability to throttle the I/O rate. For example:

/usr/bin/rsync --progress --delete --bwlimit=5000 -av /home/ /mnt/exthd/home

The "--bwlimit=5000" limits the I/O to 5MB/sec (5000K) so that other processes aren't negatively impacted.
Old 01-26-2006, 04:47 AM   #3
Registered: Sep 2005
Posts: 65

Original Poster
Rep: Reputation: 15

I was using DAR... but it is very, very, memory intensive when making entire hard disk differential backups.... so, I'm looking for another thing. Thanks for your suggestion.
Old 01-26-2006, 10:50 AM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,980

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
Just a thought... Linux 2.6 offers a choice of four "I/O request schedulers" which can be assigned for disk I/O. These schedulers determine the order in which requests are handled and how the competing queues are balanced.

You may also find that an external "smart" disk-controller card will deliver considerably better performance under load than, say, the built-in IDE chains of a motherboard.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Process memory limit Costea Linux - Security 9 09-24-2006 02:42 PM
increase the process limit of user ust Linux - General 3 10-20-2004 06:06 AM
Linux process limit kangaman Linux - General 4 10-14-2004 03:48 PM
Descriptor limit for a process akuate Linux - General 0 08-18-2004 12:23 PM
max process limit anoop_chandran Linux - Networking 2 01-16-2002 06:22 AM

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration