Re: speeding up ugen by an order of magnitude.

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 07/08/04

  • Next message: Drew Broadley: "Re: 5.2.1 using heaps of memory for Perl Process"
    Date: Wed, 07 Jul 2004 23:29:16 -0600 (MDT)
    To: julian@elischer.org
    
    

    In message: <Pine.BSF.4.21.0407071137440.80217-100000@InterJet.elischer.org>
                Julian Elischer <julian@elischer.org> writes:
    : > Nevertheless I see ugen more as a quick and dirty way to test drive a
    : > device from userland with all it's great debugging capabilities before
    : > writing a specific kernel driver.
    : > The requirement that ugen has to be generic is often bad for
    : > performance sensitive applications.
    :
    : Ugen is used in production all over the place where people have to used
    : devices there is no specific support for, and where there is no
    : kernel expertise.

    usb drivers are very easy to write. I think that making it easier to
    write those drivers is going to be better for the project in the long
    run.

    ugen is supposed to be general. If we can make it faster w/o
    sacrificying this generalness, that's OK. But if we can't, then you
    gotta do stuff in the kernel. That's always been the case (and why we
    don't have userland tcp, for example). Some things have to be in the
    kernel to be fast.

    Warner
    _______________________________________________
    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: Drew Broadley: "Re: 5.2.1 using heaps of memory for Perl Process"

    Relevant Pages

    • Re: FreeBSD vs. OSX
      ... pat> kernel, in the kernel space. ... pat> drivers are not userland. ... some oses solve this issue by placing drivers in userland ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Wanna give me a hand debunking this?
      ... without wild and crazy changes in the kernel and device drivers. ... He wants a stable kernel but a more up to date userland so that the kernel ...
      (Fedora)
    • sensors fun..
      ... etc. sensors report status via an object like this ... - I'm not entirely opposed to having kernel drivers for various known sensor ... Forcing all sensors to be in the kernel. ... consequences in the kernel than in userland. ...
      (freebsd-arch)
    • Re: ACPI Error under 2.6.26-rc*
      ... and attach the rsdp for all of the three cases (good, ACPI Error, ... could you please attach the dmesg output of a 2.6.25.10 kernel which has ... # IPVS transport protocol load balancing support ... # Device Drivers ...
      (Linux-Kernel)
    • 2.6.25 Regression: DriveStatusError
      ... I tried all -git Kernels since begining of cycle and starting when they finaly ... Root is on a raid1 using a IDE Samsung SP1614N as hda and a SATA Samsung ... Kernel driver in use: VIA_IDE ... # AX.25 network device drivers ...
      (Linux-Kernel)