Re: low(er) disk performance with sched_4bsd then with sched_ule

From: Andrew Gallatin (gallatin_at_cs.duke.edu)
Date: 09/17/05

  • Next message: Robert Backhaus: "Re: can't run wine anymore"
    Date: Sat, 17 Sep 2005 17:33:38 -0400 (EDT)
    To: joseph.koshy@gmail.com
    
    

    Oliver Lehmann writes:
    > Joseph Koshy wrote:
    >
    > > ol> Wow, that update to BETA4 did the trick! While running
    > > ol> SCHED_4BSD:
    > >
    > > Fantastic! What is the profile like with the new 4BSD kernel?
    >
    > http://pofo.de/tmp/gprof.4bsd.3

    I don't know the disk codepath very well, but the samples look a
    little suspect. We're copying a lot of data into and out of the
    kernel, so I would expect the majority of non disk wait time would be
    spent simply copying out the zero-filled pages, and copying them back
    in (AFAIK, dd uses read/write). Where is the time spent in read,
    write, uiomove, bcopy?

    What about ionode allocations, etc? And why do things like
    g_bsd_modify and g_bsd_ioctl rank so high? Aren't those only used
    when dealing with disklabels?

    BTW, I *love* that we've got access to the hw counters, and an easy
    way to do low-overhead profiling of the kernel.

    Drew

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Robert Backhaus: "Re: can't run wine anymore"

    Relevant Pages

    • Re: low(er) disk performance with sched_4bsd then with sched_ule
      ... > I don't know the disk codepath very well, ... We're copying a lot of data into and out of the ... > way to do low-overhead profiling of the kernel. ...
      (freebsd-current)
    • Re: Ubuntu - File Copy Seems Resource Intensive
      ... The first is that the Linux kernel is a cache aggressive kernel. ... So, when firefox starts up it wants to allocate a bunch of ram, and thus it has to wait for the kernel to free some ram. ... Since your copying a file there are a lot of both read cache and write cache pages. ... If you are running an Intel PII or above, you should run the 686 kernel(sudo apt-get install linux-686) and if your running on an athlon then you should install the k7 kernel. ...
      (Ubuntu)
    • Re: Modules_install error
      ... Did you, after copying those .configs in, do a 'make oldconfig'? ... in how things are done to be incorporated into a newer .config. ... I've also had to download the kernel ... kernel build to a couple of scripts that I have to edit the variables ...
      (Debian-User)
    • Re: weird clock problem
      ... >ntpd but as it turns out it's my kernel. ... While I was copying data to it via scp my random ... >Xscreensaver kicked in displaying the clock and the first thing I ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: HD access sluggish in 2.6.0
      ... > simple copying operation. ... You did not specify any details of your kernel compile so it is hard to ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)