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

Issues with video cards w/ large amounts of ram.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Jan 2010 14:27:07 -0800 (PST)

    The KVM for 32 bit kernels is getting a bit squeezed.  The recent pmap
    work ate another 64M from the 1G kernel map and that combined with 
    a graphics card with a 256M frame buffer is enough to run the kernel_map
    out of space after a while.

    This mainly occurs if you have 3G or more of ram in the machine as
    the kernel reserves more KVM for the buffer cache and vnodes when
    you have more ram in the machine.

    The easiest solution if this is happening to you is to reduce the
    graphics memory to 128M or 64M.  Alternatively you can reduce the
    size of the buffer cache slightly.  e.g. if sysctl vfs.nbuf is
    12800 you can reduce it in /boot/loader.conf with something like
    kern.nbuf=9600 (note the sysctl is vfs.nbuf but the loader.conf
    variable is kern.nbuf).

    I am considering my options on how to fix this permanently.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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