IPC problem with dice-3.3.0

Marcel Selhorst m.selhorst at sirrix.com
Fri Mar 27 11:11:08 CET 2009


Hi Carsten,

> Whoops, a message buffer with an array of 4096 bytes will indeed not  
> fit onto a Linux kernel stack.
> The magic keywords here are 'prealloc_server' and 'ref'.

yep, the new interface solved my problem, thank you! ;)
Now everything works as expected, although the performance hit is pretty big
(about 40% less throughput). Looks like I have to improve my code now ;-)

Another idea was to use shared memory or shared dataspaces.
Can you point me to a good example?

Thanks!
Marcel
-- 
Sirrix AG security technologies - http://www.sirrix.com
Marcel Selhorst      eMail: m.selhorst at sirrix.com
Tel +49(234) 61 0071-199    Fax +49(234) 61 0071-599
get my public key from keyserver, key id: 0x7C9821CC
Fingerprint 4138 E617 E62E 79D3 E663 BE5A 14E7 1CD8 7C98 21CC

Vorstand: Ammar Alkassar (Vors.), Ahmad-Reza Sadeghi, Christian Stüble
Vorsitzender des Aufsichtsrates: Prof. Dr. Kai Rannenberg
Sitz der Gesellschaft: Homburg/Saar, HRB 3857 Amtsgericht Saarbrücken

This message may contain confidential and/or privileged information.
If you are not the addressee, you must not use, copy, disclose or
take any action based on this message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply e-mail and delete this message.




More information about the l4-hackers mailing list