DragonFly BSD
DragonFly bugs List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: can't boot with kern.mmxopt=1


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 3 May 2004 20:21:44 -0700 (PDT)

    If we can verify that (hopefully) it was the critical enter/exit
    code in the assembly that was the cause of your boot-time lockup,
    I have a real fix all ready to go which moves the on-stack allocation
    to the globaldata structure and is also able to remove the fninit that
    was in bcopy's critical path (which costs 50ns on an AMD64 box) by 
    guarenteeing that the fpu is left in a normally useable mode by the
    kernel once the app's state has been saved off.  All in all I can
    greatly reduce the FP setup time in the kernel bcopy and eek out 
    another 100MB/s in peak performance (on the AMD64 Athlon 3200+) with
    these changes.

					-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]