* shmat/shmdt penalty
@ 2008-04-15 16:04 Janez Pers
0 siblings, 0 replies; only message in thread
From: Janez Pers @ 2008-04-15 16:04 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-15 16:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-15 16:04 shmat/shmdt penalty Janez Pers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®