Program pausing
Moderator: General Mods
-
- "Your thread will be crushed."
- Posts: 1236
- Joined: Wed Jul 28, 2004 1:49 am
- Location: Not in Winnipeg
- Contact:
Program pausing
I wrote this program today (in Fortran), and it takes a while to complete when I give it certain parameters. Anyways, I noticed that the program would occasionally pause for no apparent reason (at least according to my debugging information). When the pause happens, CPU execution of the program goes to nothing, then after a short (but random) time, it starts up again. Even if I set the nice level to -10 or so, it still pauses. I noticed it happen when I would go and use another program (like Firefox). I'm running Ubuntu 10.10 with a quad core IBM processor. Any idea what might be causing this issue?
<pagefault> i'd break up with my wife if she said FF8 was awesome
Re: Program pausing
Does it go in to Sleep state or waiting on a Device? Usually when that happens, it means some operation is blocking... but this is pretty basic stuff that I'm sure you've investigated. I can't really think of anything else.
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Re: Program pausing
i'll just assume ubuntu has a shit scheduler and say, ubuntu has a shit scheduler
carry on
carry on
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)