Re: scheduler/SCHED_FIFO behaviour

2005-04-06 Thread Arun Srinivas
: Arun Srinivas <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], LKML Subject: Re: scheduler/SCHED_FIFO behaviour Date: Mon, 04 Apr 2005 23:33:05 -0400 On Tue, 2005-04-05 at 07:46 +0530, Arun Srinivas wrote: > > So, what I want from the above code is whenever process1 or process2 is > be

Re: scheduler/SCHED_FIFO behaviour

2005-04-06 Thread Arun Srinivas
Srinivas [EMAIL PROTECTED] CC: [EMAIL PROTECTED], LKML linux-kernel@vger.kernel.org Subject: Re: scheduler/SCHED_FIFO behaviour Date: Mon, 04 Apr 2005 23:33:05 -0400 On Tue, 2005-04-05 at 07:46 +0530, Arun Srinivas wrote: So, what I want from the above code is whenever process1 or process2

Re: scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Arun Srinivas
ase help. thanks arun From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], LKML Subject: Re: scheduler/SCHED_FIFO behaviour Date: Mon, 04 Apr 2005 19:17:04 -0400 On Tue, 2005-04-05 at 04:36 +0530, Arun Srinivas wrote: > I am scheduling

scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Arun Srinivas
handler does not occur during the entire period of time these real time processes run?? (as I said the processes run in minutes). How can I verify that? Thanks Arun From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], LKML Subject: R

Re: scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Arun Srinivas
From: Steven Rostedt [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: [EMAIL PROTECTED], LKML linux-kernel@vger.kernel.org Subject: Re: scheduler/SCHED_FIFO behaviour Date: Mon, 04 Apr 2005 19:17:04 -0400 On Tue, 2005-04-05 at 04:36 +0530, Arun Srinivas wrote: I am scheduling 2

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
CTED]> CC: Arun Srinivas <[EMAIL PROTECTED]>,LKML Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: > > A reschedule can happen once every ms, but also upon returning to > userspace and when

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
From: Steven Rostedt <[EMAIL PROTECTED]> To: Jesper Juhl <[EMAIL PROTECTED]> CC: Arun Srinivas <[EMAIL PROTECTED]>,LKML Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: > > A reschedule

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
From: Steven Rostedt [EMAIL PROTECTED] To: Jesper Juhl [EMAIL PROTECTED] CC: Arun Srinivas [EMAIL PROTECTED],LKML linux-kernel@vger.kernel.org Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: A reschedule can

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
e argument correct? Thanks From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: LKML Subject: Re: sched /HT processor Date: Sat, 02 Apr 2005 20:17:54 -0500 On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: > HI > > I have pentium4 hyperthreaded pr

setting cpu affinity-help

2005-04-02 Thread Arun Srinivas
hi can someone show me an example usage of sched_setaffinity().I do not know how to set the affinity mask for a process.please. thanks arun _ Marriages at Bharatmatriony.com http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
I attached the 'dmesg' output because there it shows that my kernel recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's or logical cpu's? From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: LKML Subject: Re: sched /HT process

sched /HT processor

2005-04-02 Thread Arun Srinivas
HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). 1) So, after I rebulit it with CONFIG_SMP enabled does linux recogonize my

sched /HT processor

2005-04-02 Thread Arun Srinivas
HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). 1) So, after I rebulit it with CONFIG_SMP enabled does linux recogonize my

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
I attached the 'dmesg' output because there it shows that my kernel recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's or logical cpu's? From: Steven Rostedt [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: LKML linux-kernel@vger.kernel.org Subject: Re: sched

setting cpu affinity-help

2005-04-02 Thread Arun Srinivas
hi can someone show me an example usage of sched_setaffinity().I do not know how to set the affinity mask for a process.please. thanks arun _ Marriages at Bharatmatriony.com http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
? Thanks From: Steven Rostedt [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: LKML linux-kernel@vger.kernel.org Subject: Re: sched /HT processor Date: Sat, 02 Apr 2005 20:17:54 -0500 On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: HI I have pentium4 hyperthreaded processor.I am

Re: sched_setscheduler() and usage issues ....please help

2005-03-30 Thread Arun Srinivas
When I schedule my process with SCHED_FIFO policy (using sched_setscheduler()) , is there any means to verify that it is indeed being scheduled with the same priority? thanks arun From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> Subject: Re: sched_

Re: sched_setscheduler() and usage issues ....please help

2005-03-30 Thread Arun Srinivas
When I schedule my process with SCHED_FIFO policy (using sched_setscheduler()) , is there any means to verify that it is indeed being scheduled with the same priority? thanks arun From: Steven Rostedt [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] Subject: Re: sched_setscheduler

sched_setscheduler() and usage issues ....please help

2005-03-28 Thread Arun Srinivas
I am trying to set the SCHED_FIFO policy for my process.I am using sched_setscheduler() function to do this. I am following the correct syntax and running it as root process.I am using the given syntax i.e., int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p);

sched_setscheduler() and usage issues ....please help

2005-03-28 Thread Arun Srinivas
I am trying to set the SCHED_FIFO policy for my process.I am using sched_setscheduler() function to do this. I am following the correct syntax and running it as root process.I am using the given syntax i.e., int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p);

Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-23 Thread Arun Srinivas
do I have to enforce a priority in one of these ranges to make my threads as soft/hard realtime task. thanks in advance for your patience. From: Nick Piggin <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: linux-kernel@vger.kernel.org Subject: Re: help needed pls. scheduler(kerne

Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-23 Thread Arun Srinivas
a priority in one of these ranges to make my threads as soft/hard realtime task. thanks in advance for your patience. From: Nick Piggin [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: linux-kernel@vger.kernel.org Subject: Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related

Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-22 Thread Arun Srinivas
. help.Thanks in Advance. From: Nick Piggin <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: linux-kernel@vger.kernel.org Subject: Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions? Date: Wed, 23 Mar 2005 10:16:20 +1100 Arun Srinivas wrote: Pls. help

help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-22 Thread Arun Srinivas
Pls. help me. I went through the sched.c for kernel 2.6 and saw that it supports hyperthreading.I would be glad if someone could answer this question(if am not wrong a HT processor has 2 architectural states and one execution unit...i.e., two pipeline streams) 1)when there are 2 processes a

help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-22 Thread Arun Srinivas
Pls. help me. I went through the sched.c for kernel 2.6 and saw that it supports hyperthreading.I would be glad if someone could answer this question(if am not wrong a HT processor has 2 architectural states and one execution unit...i.e., two pipeline streams) 1)when there are 2 processes a

Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-22 Thread Arun Srinivas
. help.Thanks in Advance. From: Nick Piggin [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: linux-kernel@vger.kernel.org Subject: Re: help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions? Date: Wed, 23 Mar 2005 10:16:20 +1100 Arun Srinivas wrote: Pls. help me. I went through

scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-21 Thread Arun Srinivas
I went through the sched.c for kernel 2.6 and saw that it supports hyperthreading.I would be glad if someone could answer this question(if am not wrong a HT processor has 2 architectural states and one execution unit...i.e., two pipeline streams) 1)when there are 2 processes a parent and

scheduler(kernel 2.6) + hyperthreaded related questions?

2005-03-21 Thread Arun Srinivas
I went through the sched.c for kernel 2.6 and saw that it supports hyperthreading.I would be glad if someone could answer this question(if am not wrong a HT processor has 2 architectural states and one execution unit...i.e., two pipeline streams) 1)when there are 2 processes a parent and