lkml.org 
[lkml]   [2008]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectshmat/shmdt penalty
Hi all,

Is there significant penalty for doing shmat/shmdt to a preexisting/
pre-created shared memory segment 60-200 times a second in multiple
processes using a modern (2.6) linux kernel on i386 architecture?

Specifically, do I risk:

* significant slowdown due to context switching (e.g. more than 10%)?
* memory fragmentation (?)
* any other resource exhaustion if such code runs for hours?
* scorn and laughter by people who read my code?

Sorry if this is faq or documented anywhere (I could not find it) - then
the pointer/url to the relevant literature will be enough.

Regards,

Janez.


\
 
 \ /
  Last update: 2008-04-15 18:41    [W:0.038 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site