Re: Increasing KVM on amd64

2008-09-12 Thread Artem Belevich
By the way, this part of Alan's patch fixes a bug in RELENG7 where mapbase is passed to vm_map_find uninitialized. -CURRENT already has this change applied. Perhaps it's worth committing in RELENG7, too. --- ./kern/link_elf_obj.c.orig 2008-09-01 11:06:44.0 -0700 +++ ./kern/link_elf_obj.c

Increasing KVM on amd64

2008-09-10 Thread Artem Belevich
Alan, Thanks a lot for the patch. I've applied it to RELENG_7 and it seems to work great - make -j8 buildworld succeeds, linux emulation seems to work well enough to run linux-sun-jdk14 binaries, ZFS ARC size is bigger, too. So far I didn't see any ZFS-related KVM shortages either. The only

Re: Increasing KVM on amd64

2008-09-10 Thread Jeremy Chadwick
On Wed, Sep 10, 2008 at 04:12:25PM -0700, Artem Belevich wrote: Alan, Thanks a lot for the patch. I've applied it to RELENG_7 and it seems to work great - make -j8 buildworld succeeds, linux emulation seems to work well enough to run linux-sun-jdk14 binaries, ZFS ARC size is bigger, too. So

Re: Increasing KVM on amd64

2008-09-10 Thread Artem Belevich
SVN rev 180308 on 2008-07-05 19:34:33Z by alc Enable the creation of a kmem map larger than 4GB. Submitted by: Tz-Huan Huang Make several variables related to kmem map auto-sizing static. Found by: CScout I did apply Tz-Huan Huang's patch that he pointed to shortly after you've

Re: Increasing KVM on amd64

2008-09-10 Thread Alan Cox
Artem Belevich wrote: Alan, Thanks a lot for the patch. I've applied it to RELENG_7 and it seems to work great - make -j8 buildworld succeeds, linux emulation seems to work well enough to run linux-sun-jdk14 binaries, ZFS ARC size is bigger, too. So far I didn't see any ZFS-related KVM

Re: Increasing KVM on amd64

2008-06-08 Thread Alan Cox
Tz-Huan Huang wrote: On Sun, Jun 8, 2008 at 7:59 AM, Alan Cox [EMAIL PROTECTED] wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This patch also increases the default for the kmem map to almost

Re: Increasing KVM on amd64

2008-06-08 Thread Tz-Huan Huang
On Sun, Jun 8, 2008 at 2:02 PM, Alan Cox [EMAIL PROTECTED] wrote: Tz-Huan Huang wrote: On Sun, Jun 8, 2008 at 7:59 AM, Alan Cox [EMAIL PROTECTED] wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB.

Increasing KVM on amd64

2008-06-07 Thread Alan Cox
You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This patch also increases the default for the kmem map to almost 2GB. I believe that kernel loadable modules still work. However, I suspect that

Re: Increasing KVM on amd64

2008-06-07 Thread Tz-Huan Huang
On Sun, Jun 8, 2008 at 7:59 AM, Alan Cox [EMAIL PROTECTED] wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This patch also increases the default for the kmem map to almost 2GB. I believe that

Re: Increasing KVM on amd64

2008-06-07 Thread Alan Cox
Kostik Belousov wrote: On Sat, Jun 07, 2008 at 06:59:35PM -0500, Alan Cox wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This patch also increases the default for the kmem map to almost 2GB.

Re: Increasing KVM on amd64

2008-06-07 Thread Kostik Belousov
On Sun, Jun 08, 2008 at 12:39:43AM -0500, Alan Cox wrote: Kostik Belousov wrote: On Sat, Jun 07, 2008 at 06:59:35PM -0500, Alan Cox wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This

Re: Increasing KVM on amd64

2008-06-07 Thread Kostik Belousov
On Sat, Jun 07, 2008 at 06:59:35PM -0500, Alan Cox wrote: You can download a patch from http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's kernel virtual address space to 6GB. This patch also increases the default for the kmem map to almost 2GB. I believe that kernel