Re: system load spike

2007-10-22 Thread Kent Tong
Hi all, Thanks for the replies. I've identified that it's pdflush that is causing the problem. I have 3 of them running in D state along with usb-storage. This is enough to cause a system load of 4. Adding gzip will make it 5. I've found some references stating the problems of having multiple pdf

Re: system load spike

2007-10-22 Thread Andrew Sackville-West
On Mon, Oct 22, 2007 at 12:20:12AM -0500, Ron Johnson wrote: > On 10/21/07 23:26, Kent Tong wrote: > > > > Carl Fink-4 wrote: > >> Why is a lower load important to you? > >> > >> Depending on the script you could introduce a "sleep 1" between each > >> compression step, which gives the system I/O

Re: system load spike

2007-10-21 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/07 23:26, Kent Tong wrote: > > Carl Fink-4 wrote: >> Why is a lower load important to you? >> >> Depending on the script you could introduce a "sleep 1" between each >> compression step, which gives the system I/O a chance to catch up. >> Ob

Re: system load spike

2007-10-21 Thread Kent Tong
Carl Fink-4 wrote: > > Why is a lower load important to you? > > Depending on the script you could introduce a "sleep 1" between each > compression step, which gives the system I/O a chance to catch up. > Obviously you could also vary the "1" as needed. > Thanks for the reply. We have a perf

Re: system load spike

2007-10-21 Thread Carl Fink
On Sun, Oct 21, 2007 at 08:40:46PM -0700, Kent Tong wrote: > > Hi, > > I am using a shell script to perform backup. Whenever it is launched, the > system load average > reaches 3-5 regularly. I am already launching it script using "nice -n 19". > The script is using > find, cpio and gzip. They sh