Re: 4.7 vs 5.2.1 SMP/UP bridging performance

From: Bruce M Simpson (bms_at_spc.org)
Date: 05/06/04

  • Next message: Jason Andresen: "Re: nVidia FX Support?"
    Date: Thu, 6 May 2004 16:07:54 +0100
    To: Andrew Gallatin <gallatin@cs.duke.edu>
    
    

    On Thu, May 06, 2004 at 10:15:44AM -0400, Andrew Gallatin wrote:
    > For what its worth, using those operations yeilds these results
    > on my 2.53GHz P4 (for UP)
    >
    > Mutex (atomic_store_rel_int) cycles per iteration: 208
    > Mutex (sfence) cycles per iteration: 85
    > Mutex (lfence) cycles per iteration: 63
    > Mutex (mfence) cycles per iteration: 169
    > Mutex (none) cycles per iteration: 18
    >
    > lfence looks like a winner..

    Please be aware, though, that the different FENCE instructions are acting
    as fences against different things. The NASM documentation has a good
    quick reference for what each of the instructions do, but the definitive
    reference is Intel's IA-32 programmer's reference manuals.

    Regards,
    BMS
    _______________________________________________
    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: Jason Andresen: "Re: nVidia FX Support?"