Re: Network stack performance

2013-11-26 Thread Joel Sherrill
On 11/26/2013 3:30 PM, Claus, Ric wrote: > This is something that I’ve been interested in and working on for awhile now. > In particular, I’ve been trying to build iperf using RTEMS tools for the > ARM Cortex-A9 (targeting a Zynq based eval board), but am not getting very > far. The compile d

Re: Network stack performance

2013-11-26 Thread Claus, Ric
This is something that I’ve been interested in and working on for awhile now. In particular, I’ve been trying to build iperf using RTEMS tools for the ARM Cortex-A9 (targeting a Zynq based eval board), but am not getting very far. The compile dies on lacking a definition for the int64_t type,

Re: Fwd: Help with debugging a POSIX timing test.

2013-11-26 Thread Joel Sherrill
Hi This should be closer than the version you posted on Melange. I added printf's to help show where the context switches from one thread to another were occurring. See if you can follow what is going on. Remember the test description is: pthread_setschedparam - lower own priority, preempt whi

Re: score support for cpuset validation

2013-11-26 Thread Joel Sherrill
On 11/26/2013 2:23 PM, Gedare Bloom wrote: > Does it make sense to have separate methods for the validation of the > different cases? I would think the usage would be "err = > validate(cpuset *s);" which could be propagated through the return > value regardless of the condition? I don't know. That

Re: score support for cpuset validation

2013-11-26 Thread Gedare Bloom
Does it make sense to have separate methods for the validation of the different cases? I would think the usage would be "err = validate(cpuset *s);" which could be propagated through the return value regardless of the condition? On Tue, Nov 26, 2013 at 3:17 PM, Joel Sherrill wrote: > > And in cas

Re: score support for cpuset validation

2013-11-26 Thread Joel Sherrill
And in case the error cases are not completely clear, do a "man pthread_setaffinity_np" on Linux and see the errors returned. :) On 11/26/2013 1:15 PM, Joel Sherrill wrote: > FWIW these are likely three separate methods. We may > need a new handler. So think long term when making > suggestions.

Re: score support for cpuset validation

2013-11-26 Thread Joel Sherrill
FWIW these are likely three separate methods. We may need a new handler. So think long term when making suggestions. On 11/26/2013 1:11 PM, Jennifer Averett wrote: > I’d like to add a method to the super core to validate > > a cpuset: > > 1) Can’t have a cpuset that is sets a cpu greater t

score support for cpuset validation

2013-11-26 Thread Jennifer Averett
I'd like to add a method to the super core to validate a cpuset: 1) Can't have a cpuset that is sets a cpu greater than the number of cores 2) Can't have a cpuset that is sets a cpu that is turned off or not running rtems... 3) Can't have a cpuset with no cpu's selected. Any s

[PATCH 1/3] bsp/leon3: Fix interrupt-driven console driver

2013-11-26 Thread Sebastian Huber
--- c/src/lib/libbsp/sparc/leon3/console/console.c | 170 ++-- 1 files changed, 98 insertions(+), 72 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/console/console.c b/c/src/lib/libbsp/sparc/leon3/console/console.c index 1b1882d..0b30369 100644 --- a/c/src/lib/libbsp

[PATCH 2/3] bsp/leon3: Avoid copy and paste in console driver

2013-11-26 Thread Sebastian Huber
--- c/src/lib/libbsp/sparc/leon3/console/console.c | 62 +--- 1 files changed, 23 insertions(+), 39 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/console/console.c b/c/src/lib/libbsp/sparc/leon3/console/console.c index 0b30369..1860e5c 100644 --- a/c/src/lib/libbsp

[PATCH 3/3] bsp/leon3: Console driver changes

2013-11-26 Thread Sebastian Huber
Move declaration of global variables and functions to header file. Make several global variables and functions static. --- c/src/lib/libbsp/sparc/leon3/console/console.c | 73 .../libbsp/sparc/leon3/console/printk_support.c| 14 +--- c/src/lib/libbsp/sparc/leon3/