PDA

View Full Version : Recommended value for vm.kmem_size_max


Fyr
07-19-07, 02:23 AM
Hi,

I'm playing around FreeBSD 7.0 + ZFS with 2Go. Some kernel parameters for ZFS need to be set to a bigger value for ZFS. One is vm.kmem_size_max. I set it at twice the default value : from 335544320 to 671088640.

When I do that, I have :
kernel: NVRM: RmInitAdapter failed! (0x25:0xffffffff:1014)
kernel: nvidia0: NVRM: rm_init_adapter() failed!

So, what is the recommended value for Nvidia ?

PS. I'm stuck under IA32, because AMD64 is not supported for Nvidia, which is nice with the new ZFS FS.

zander
07-19-07, 02:28 AM
Which NVIDIA FreeBSD graphics driver release are you using?

Fyr
07-19-07, 02:56 AM
NVIDIA-FreeBSD-x86-100.14.11

zander
07-19-07, 02:05 PM
Which GPU are you using? Please note that the GeForce 2Go is no longer supported in 100.14.11, the appropriate legacy graphics driver needs to be used, instead. Please also see http://www.nvnews.net/vbulletin/showthread.php?t=92952.

Fyr
07-19-07, 04:15 PM
nvidia0: <GeForce 8500 GT> port 0xcc00-0xcc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1

It's not a Geforce 2Go, but 2Go of RAM, sorry.

FYI : setting vm.kmem_size_max to 536870912 (512Mo) works nice, But not to 671088640 (640Mo)

zander
07-19-07, 04:24 PM
OK. There's no recommended value per-se, though you'll likely want to use the highest value that works reliably. There's some relevant information in the Linux README (see the section on kernel virtual memory exhaustion): http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/README/chapter-09.html.