FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Exec Security
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Exec Security [message #179003 is a reply to message #179002] Sun, 02 September 2012 11:02 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
J.O. Aho wrote:
> Ryan wrote:
>
>> The daemon idea sounds interesting but seems a waste to always be
>> runing in the backgound when nothing needs processed.
>
> I doubt you are using something less powerful than my Nokia N900 and
> even on the N900 you won't notice a daemon which does idle most of it's
> life.
>
> Go for security, it's not a X-Windows you will have running which would
> waist RAM and CPU on a server.
>

The general way a daemon comes into play at the OS level - at least on
*nix systems - is that the multi-tasking scheduler scans all the
sleeping processes and if nothing has happened to wake them up, skips
them. This is at most a few machine cycle per process.

What is consumed is memory, virtual or otherwise.
Even the wake up process is relatively efficient. Ignoring paging memory
in or out of swap space, all that happens is that the current processor
state is stored in a special area, and the sleeping task context
restored from kernel memory. The task then resumes from where it left
off. If its memory space is paged out, then another daemon will be
awoken to page it in.


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is PDO an abstraction layer?
Next Topic: Net Connect API -php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 19:09:25 GMT 2024

Total time taken to generate the page: 0.05250 seconds