On 7/2/07, Dmitry Adamushko <[EMAIL PROTECTED]> wrote:
On 02/07/07, Vegard Nossum <[EMAIL PROTECTED]> wrote: > I have been running cfs-v18 for a couple of days now, and today I > stumbled upon a rather strange problem. Consider the following short > program: > > while(1) > printf("%ld\r", 1000 * clock() / CLOCKS_PER_SEC);Is it running with a default (0) nice value?
Yes.
could you please run the following script when your application is running? As you have pointed out : "... In fact, it seems that the longer it runs, the longer it takes to terminate (towards 5 seconds after running for a couple of minutes ..." ,
(I don't think it'll ever take more than 5 seconds, though.)
please run the script a few times : say, before starting up your application, 10 sec. after it's got started, 1 minute, a few minute... http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh
Resulting files at http://vegard.afraid.org:1104/pub/cfs/ cfs-debug-info-2007.07.02-15:18:13 Before running program cfs-debug-info-2007.07.02-15:19:51 ~10 secs after start cfs-debug-info-2007.07.02-15:20:54 ~1 minute after start cfs-debug-info-2007.07.02-15:25:52 ~5 minutes after start cfs-debug-info-2007.07.02-15:30:54 ~10 minutes after start a.out is my program, FahCore_78 is the [EMAIL PROTECTED] client. Hope this helps. Vegard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

