Weblog entry #1 for tong

Linux Tasks Management
Posted by tong on Sat 21 Jan 2006 at 23:08
Tags: none.
Will "nice"d background tasks interfere (slow down) normal foreground
task? I used to amaze my Windoze-using friends by burning CD/DVDs while
carrying out my normal work. I normally point to the "top" output,
which says something like "Tasks: 133 total", and say to my astonished
friend, "I can burn my CD/DVDs while there are over a hundred task running
at the same time" -- just enjoy looking at their
astonished faces. However, there is one thing that really make me
question how Linux schedule its tasks.



There is this special case, which will let me make coasters every time
-- when nget is updating it headers. I'm using a not-so-monster news
server, which can't compete with supper-monster news server like
giganews, etc. However, whenever nget updates it headers, my computer is
brought down to its knees. I run my nget with "nice -n 12", and my growisofs
(for DVD burning) with "nice -n -2", even so I make coasters from time
to time.



I think it must related with kswapd0 -- the kernel page fault swap
daemon. Shouldn't page faults caused by "nice -n 12" tasks have much lower
priorities then that from "nice -n -2"? I think it should, but why I
make coasters from time to time then?



My box's memory is 768M. I don't think it is too small.



tong

PS.

 

Comments on this Entry

Posted by tong (67.71.xx.xx) on Sat 21 Jan 2006 at 23:23
[ Send Message | View Weblogs ]
PS.

The question has been rejected from the "question" section because it is "better suited to the debian-user mailing list".



Sorry to have hi-jack it here because I've asked much simpler question in debian-user recently but no one can answer them. I know there are many real experts here -- hoping that someone can anwser it.

sorry and thanks

tong

[ Parent | Reply to this comment ]

Posted by Anonymous (70.81.xx.xx) on Sun 1 Jun 2008 at 01:28
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic Serbs open to discussing Kosovo autonomy, oppose NATO troops http://cnn.com/2003/WORLD/europe/08/12/europe.heatwave/

[ Parent | Reply to this comment ]

Posted by Anonymous (74.69.xx.xx) on Wed 4 Jun 2008 at 01:41
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic Prosecutors rest case in embassy bombings trial http://cnn.com/2002/WORLD/americas/06/18/colombia.unions.ap/index .html

[ Parent | Reply to this comment ]

Posted by Anonymous (24.184.xx.xx) on Sat 7 Jun 2008 at 00:33
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic
<a href= http://www.ambrosiaSW.com/ >Ambrosia Software</a>
http://www.geocities.com/CapeCanaveral/4742/snail_faq.html

[ Parent | Reply to this comment ]

Posted by Anonymous (68.3.xx.xx) on Wed 11 Jun 2008 at 05:44
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic
<a href= http://www.clevedon-ac.ukgateway.net/ >Clevedon Athletic Club</a>
http://www.cnn.com/2004/ALLPOLITICS/03/22/kerry.tm/

[ Parent | Reply to this comment ]

Posted by Anonymous (85.139.xx.xx) on Fri 13 Jun 2008 at 11:16
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic The Status of Women in Ancient Egyptian Society http://popmatters.com/film/deuce-bigalow.html

[ Parent | Reply to this comment ]

Posted by Anonymous (207.253.xx.xx) on Sun 15 Jun 2008 at 15:00
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic Harvest Co-op Markets http://www.geocities.com/brandonssirensite/

[ Parent | Reply to this comment ]

Posted by Anonymous (81.71.xx.xx) on Wed 18 Jun 2008 at 09:04
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic
<a href= http://www.leps.it/indexjs.htm?SpeciesPages/SatyrLeder.htm >Orange-banded Hairstreak (Satyrium ledereri)</a>
http://www.vincevance.com/

[ Parent | Reply to this comment ]

Posted by Anonymous (68.52.xx.xx) on Mon 23 Jun 2008 at 01:25
nursingly overtumble unresemblant woebegonish colocephalous lemuel sinecureship breviconic
<a href= http://www.petergossbutchers.co.uk/ >Peter Goss Butchers</a>
http://www.batedesign.com/home.html

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Mon 23 Jan 2006 at 09:03
nice helps to control how much cpu time a process gets. If a process is io-heavy (as I guess nget is), then it will compete with your cd burner for io. There isn't a nice for io.
You could try putting them cd drive on a separate channel to the disks, or use a cd burner that deals with interruptions.

[ Parent | Reply to this comment ]

Posted by tong (67.71.xx.xx) on Mon 23 Jan 2006 at 17:47
[ Send Message | View Weblogs ]
If a process is io-heavy (as I guess nget is), then it will compete with your cd burner for io. There isn't a nice for io.



That explains it. Thanks for clear it up!



BTW, it is not the nget that is io-heavy but the swap deamon.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search