Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread Steven Rostedt
On Thu, 2005-08-18 at 17:23 -0700, Sundar Narayanaswamy wrote: > The SBC has two serial ports, ttyS0 and ttyS1 that are connected by the > serial port cable. A program writes characters on ttyS0 while another > program (with RealTime priority thread) reads the char from ttyS1 and > echoes it back

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread Sundar Narayanaswamy
Steve, Thanks very much for your input. I applied the latest realtime-preempt patch today (patch-2.6.13-rc6-rt9) on top of 2.6.13-rc6 kernel and I set the high res timer to using TSC. Anyways, I am not too concerned about the nanosleep test itself. I just thought that would be a way to

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread George Anzinger
Steven Rostedt wrote: On Wed, 2005-08-17 at 19:38 -0700, Sundar Narayanaswamy wrote: Hi, I am trying to experiment using 2.6.12 kernel with the realtime-preempt V0.7.51-38 patch to determine the kernel preemption latencies with the CONFIG_PREEMPT_RT mode. The test program I wrote does the

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread George Anzinger
Steven Rostedt wrote: On Wed, 2005-08-17 at 19:38 -0700, Sundar Narayanaswamy wrote: Hi, I am trying to experiment using 2.6.12 kernel with the realtime-preempt V0.7.51-38 patch to determine the kernel preemption latencies with the CONFIG_PREEMPT_RT mode. The test program I wrote does the

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread Sundar Narayanaswamy
Steve, Thanks very much for your input. I applied the latest realtime-preempt patch today (patch-2.6.13-rc6-rt9) on top of 2.6.13-rc6 kernel and I set the high res timer to using TSC. Anyways, I am not too concerned about the nanosleep test itself. I just thought that would be a way to

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-18 Thread Steven Rostedt
On Thu, 2005-08-18 at 17:23 -0700, Sundar Narayanaswamy wrote: The SBC has two serial ports, ttyS0 and ttyS1 that are connected by the serial port cable. A program writes characters on ttyS0 while another program (with RealTime priority thread) reads the char from ttyS1 and echoes it back

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 19:38 -0700, Sundar Narayanaswamy wrote: > Hi, > I am trying to experiment using 2.6.12 kernel with the realtime-preempt > V0.7.51-38 patch to determine the kernel preemption latencies with the > CONFIG_PREEMPT_RT mode. The test program I wrote does the following on > a

Latency with Real-Time Preemption with 2.6.12

2005-08-17 Thread Sundar Narayanaswamy
Hi, I am trying to experiment using 2.6.12 kernel with the realtime-preempt V0.7.51-38 patch to determine the kernel preemption latencies with the CONFIG_PREEMPT_RT mode. The test program I wrote does the following on a thread with highest priority (99) and SCHED_FIFO policy to simulate a real

Latency with Real-Time Preemption with 2.6.12

2005-08-17 Thread Sundar Narayanaswamy
Hi, I am trying to experiment using 2.6.12 kernel with the realtime-preempt V0.7.51-38 patch to determine the kernel preemption latencies with the CONFIG_PREEMPT_RT mode. The test program I wrote does the following on a thread with highest priority (99) and SCHED_FIFO policy to simulate a real

Re: Latency with Real-Time Preemption with 2.6.12

2005-08-17 Thread Steven Rostedt
On Wed, 2005-08-17 at 19:38 -0700, Sundar Narayanaswamy wrote: Hi, I am trying to experiment using 2.6.12 kernel with the realtime-preempt V0.7.51-38 patch to determine the kernel preemption latencies with the CONFIG_PREEMPT_RT mode. The test program I wrote does the following on a thread