Re: ten thousand small processes

From: Jon Mini (mini_at_freebsd.org)
Date: 06/27/03

  • Next message: Jon Mini: "Sounding important (was re: sacrificing performance for confusion)"
    Date: Thu, 26 Jun 2003 20:51:32 -0700
    To: "D. J. Bernstein" <djb@cr.yp.to>
    
    

    D. J. Bernstein [djb@cr.yp.to] wrote :

    > I want separate processes for the memory protection. Each process is
    > chrooted under its own uid, so it can't write to disk except through
    > supplied file descriptors, and it can't hit other processes. (If I had a
    > portable way to cut off other communication channels, such as creating
    > new sockets, I'd do that too.)

    Have you looked into our jail(8) mechanism?

    Considiner your resource conumtion needs, it is also too heavy-weight.

    > protection; I realize that it's hard to do better than that. But I'm not
    > willing to casually piss away large fractions of a gigabyte of RAM. Not
    > this decade, anyway.

    Unfortunately, FreeBSD is the wrong operating system for you.

    > I'm willing to sacrifice one page per process for the sake of memory
    > The lack of memory protection is exactly why I can't use threads. It's
    > also why I'm not surprised to hear that processes are _slightly_ less
    > efficient than threads. But something is seriously wrong if processes
    > are _much_ less efficient than threads.

    There are many other contributing factors that have been mentioned,
    but you are choosing to ignore. I'm afraid I can't comunicate with
    you effectively if you are going to ignore the facts.

    My sincerest apologies,

    -- 
    Jonathan Mini <mini@freebsd.org>
    http://www.freebsd.org/
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    

  • Next message: Jon Mini: "Sounding important (was re: sacrificing performance for confusion)"

    Relevant Pages

    • Re: ten thousand small processes
      ... chrooted under its own uid, so it can't write to disk except through ... supplied file descriptors, and it can't hit other processes. ... The lack of memory protection is exactly why I can't use threads. ...
      (freebsd-performance)
    • Re: Panasonic DVD-RAM recorder format
      ... I stuck the disk in the ... >without the funky user and group IDs, the recorder refuses to ... to use the SSN as the UID. ...
      (comp.os.linux.misc)
    • Re: Quick Silly question re eject ?? -- BTW
      ... My cdrw has a disk in it, I put in while I was booted into WindowsXp. ... There is no mount instructions in fstab. ... Currently /dev/hdc has owner as UID and group as 'disk'. ...
      (Fedora)
    • Cannot logon after I deleted c$ default share
      ... I stupdly deleted "all" shares on my C: disk, ... The systems will not allow me to logon. ... My UID has admin rights. ...
      (microsoft.public.win2000.security)