Re: performance of jailed processes

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 03/30/04

  • Next message: Dag-Erling Smørgrav: "Re: performance of jailed processes"
    Date: Tue, 30 Mar 2004 22:40:15 +0200
    To: Dag-Erling Sm?rgrav <des@des.no>
    
    
    

    On Tue, Mar 30, 2004 at 09:09:35PM +0200, Dag-Erling Sm?rgrav wrote:
    +> > Can you identify any micro-benchmarks rather than macro-benchmarks that
    +> > reflect a significant difference?
    +>
    +> haven't had much luck with that... fetch, for instance, doesn't seem
    +> to suffer, but with mysql the difference is dramatic:
    +>
    +> (outside jail)
    +> 1 row in set (0.01 sec)
    +>
    +> (inside jail)
    +> 1 row in set (13.20 sec)
    +>
    +> note that 13 seconds is far too short for a DNS issue, and that the
    +> time reported is measured *after* login (i.e. after any DNS lookup)

    Could you produce some ktraces inside and outside jail?

    -- 
    Pawel Jakub Dawidek                       http://www.FreeBSD.org
    pjd@FreeBSD.org                           http://garage.freebsd.pl
    FreeBSD committer                         Am I Evil? Yes, I Am!
    
    



  • Next message: Dag-Erling Smørgrav: "Re: performance of jailed processes"

    Relevant Pages

    • Re: performance of jailed processes
      ... +>> reflect a significant difference? ... +> (outside jail) ... +> time reported is measured *after* login (i.e. after any DNS lookup) ... if it is printed with fetch and with mysql. ...
      (freebsd-current)
    • Re: performance of jailed processes
      ... running a query against a remote MySQL server from ... > inside a jail takes an order of magnitude more time than from outside ... so this is not a matter of the server timing out on a ... > DNS lookup or anything like that. ...
      (freebsd-current)