[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How many processes?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-10-29 15:03:04
Message-ID: 200410291703.08952.bastian () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> Wouldn't it be a better idea to have multiple processes but the majority of
> code in a shared library?  That way you are conserving memory,  but if one
> crashes the rest are unaffected.

The memory used by the code itself is already shared between multiple 
instances of the same executable. Whether code is part of a shared library or 
part of an executable makes no difference in that regard.

However the non-shared data used by the average KDE process is substantial (in 
the order of 1Mb ¹) and by having multiple processes this data gets 
duplicated in ram. 

Cheers,
Waldo

¹) For a significant part, but not only, due to XIM and Xft.
-- 
bastian@kde.org   |   SUSE LINUX 9.2: Order now!   |   bastian@suse.com
  http://www.suse.de/us/private/products/suse_linux/preview/index.html

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic