Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches)

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 05/23/05

  • Next message: Kris Kennaway: "Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches)"
    Date: Mon, 23 May 2005 14:31:55 -0700
    To: Matthias Buelow <mkb@incubus.de>
    
    
    

    On Mon, May 23, 2005 at 11:21:13PM +0200, Matthias Buelow wrote:
    > Kris Kennaway wrote:
    >
    > > One thing that probably confuses and misleads a lot of people is when
    > > they build world or a kernel and notice that it's taking much longer
    > > than it did under 4.x, so they assume this means that 5.x is slower
    > > than 4.x. It doesn't. What it means is that 5.x and 4.x have
    > > different C compilers, and gcc 3.x is much slower at compiling code
    > > than gcc 2.x. You have to be very careful to draw conclusions based
    > > on subjective assessments like this.
    >
    > Another thing might be that interactive response time seems to be worse.
    > While I (or rather ports) unpack the firefox/thunderbird source, the
    > machine is pretty much bogged down (mouse cursor jumps around, audio
    > stutters...). Haven't seen that on FreeBSD since the 386 days.

    I don't run FreeBSD on my desktop machines so I haven't seen this
    myself. One obvious guess is that it's due to VFS being under Giant,
    which causes lots of contention with other subsystems that also
    require Giant, and therefore introduces latency. If so, you'd see a
    substantial performance improvement on 6.0 with debug.mpsafevfs=1.
    This option isn't yet ready for production use (especially on SMP
    machines) since it still contains bugs, but it would be interesting if
    someone who sees this problem could test it on 6.0.

    Any takers?

    Kris

    
    



  • Next message: Kris Kennaway: "Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches)"

    Relevant Pages

    • Re: Compiling Packages
      ... Kevin D. Kinsey, DaleCo, S.P. wrote: ... > Kris Kennaway wrote: ... >> machines with good network connectivity. ...
      (freebsd-questions)
    • Re: 6.0 Release - Pentium install panic and some questions
      ... On Tue, 22 Nov 2005 07:03 am, Kris Kennaway wrote: ... When booting from floppy on these ... other machines it says "Boot FreeBSD with ACPI disabled". ... page fault while in kernel mode ...
      (freebsd-stable)
    • Re: Softupdates not preventing lengthy fsck
      ... On 11 Apr, Kris Kennaway wrote: ... > I'm seeing the following problem: on 6.0 machines which have had a lot ... > It's as if dirty buffers aren't being written out properly, ... This looks a lot like it could be a vnode refcnt leak. ...
      (freebsd-current)
    • Re: [PANIC] ufs_dirbad: bad dir
      ... > On 27 Sep, Kris Kennaway wrote: ... >> after unclean shutdowns. ... on many of the machines I see this ... So one cause of this is either runtime corruption, ...
      (freebsd-current)
    • Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches)
      ... >> Another thing might be that interactive response time seems to be worse. ... > I don't run FreeBSD on my desktop machines so I haven't seen this ... One obvious guess is that it's due to VFS being under Giant, ... have not seen problems on my heavily loaded machines), ...
      (freebsd-stable)