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

Re: VM idle page zeroing


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 May 2010 14:13:15 -0700 (PDT)

:Hi,
:
:This is my first attempt at a idle-time VM page zeroing. I added a kernel
:thread, 'zeroidle', which zeros pages as it has time.
:The patch is pretty rough at the minute.
:
:http://m-net.arbornet.org/users/sv5679/dfly/0001-vm-Add-idle-thread-to-pre-zero-pages.patch
:
:Any thoughts would be appreciated,
:-- vs
    
    Ok, we had a good conversation on IRC and there will be another
    iteration or two of this.  Essentially what needs to be done here
    is to detect that the cpu is needed for other things during the zeroing
    loop, use try_mplock() around the VM code, and a few other things
    to reduce the latency seen by other threads.

						-Matt




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