From: Gilles Chanteperdrix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17655.18827.661904.949733@domain.hid> Date: Thu, 31 Aug 2006 22:41:47 +0200 Subject: Re: [Xenomai-help] [Fwd: Performance decrease] In-Reply-To: <1156942089.4323.29.camel@domain.hid> References: <1156941389.4323.17.camel@domain.hid> <1156942089.4323.29.camel@domain.hid> List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Philippe Gerum wrote: > On Wed, 2006-08-30 at 14:36 +0200, Philippe Gerum wrote: > > -------- Forwarded Message -------- > > > From: Daniel Schnell > > > To: xenomai-help > > > Subject: Performance decrease > > > Date: Wed, 30 Aug 2006 11:58:25 -0000 > > > > > > Hi, > > > > > > > > > > > > I have made some CPU throughput tests with/without "Nucleus options->pervasive real-time support in user-space" > > enabled/disabled. And the performance dicrease in using that option is for my processor (MPC5200, 400 MHz) about 10%. > > There is an impact induced by activating the user-space support, since > all system calls are filtered through Xenomai; some work is currently > undergoing to reduce this overhead, so that only system calls issued by > Xenomai shadows would be intercepted. This said, out of curiosity, how > do you measure those 10% on your board? Just being curious: how will you achieve this ? You will make the function used to dispatch system calls a per-thread pointer ? -- Gilles Chanteperdrix.