Re: Kernel cached memory

From: Chuck Ebbert (76306.1226_at_compuserve.com)
Date: 07/26/05

  • Next message: Alejandro Bonilla: "Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop."
    Date:	Mon, 25 Jul 2005 20:35:37 -0400
    To: Bill Davidsen <davidsen@tmr.com>
    
    

    On Mon, 25 Jul 2005 at 12:47:50 -0400, Bill Davidsen wrote:

    > > It's a very - very - very old and bad logic (at least nowdays) from the
    > > stone age to free up memory.
    >
    > It's very Microsoft to claim that the OS always knows best, and not let
    > the user tune the system the way they want it tuned.

    Ironically, Microsoft offers a choice here.

    In the registry (NT and W2K at least, don't know about XP:)

    HKLM\SYSTEM\CurrentControlSet\Session Manager\Memory Management
            LargeSystemCache : REG_DWORD
                    0: prefer application code over cached data
                    1: prefer cached data

    Also:

            DisablePagingExecutive : REG_DWORD
                    1: don't allow kernel code to be paged out

            IOPageLockLimit : REG_DWORD
                    controls the amount of memory that can be locked for I/O

    __
    Chuck
    -
    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/


  • Next message: Alejandro Bonilla: "Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop."