[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4804D228.3090406@fe.uni-lj.si>
Date: Tue, 15 Apr 2008 18:04:56 +0200
From: Janez Pers <janez.pers@...uni-lj.si>
To: linux-kernel@...r.kernel.org
Subject: shmat/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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists