On Fri, 2011-12-02 at 11:19 -0700, Mark Post wrote:
> >>> On 12/2/2011 at 12:26 PM, Jan Glauber <j...@linux.vnet.ibm.com> wrote:
> > Try to increase the limit, it should be bigger than the size of the disk
> > you're trying to mount (or unlimited).
> >
> > If you don't have enough free memory in your guest you may also need to
> > set  /proc/sys/vm/overcommit_memory to 1.
> >
> > And don't be afraid, the memory is not actually consumed by cmsfs-fuse,
> > it is just needed to pass several checks buried in the memory management
> > of the Linux kernel.
>
> There seems to be something wrong with this approach to me.  Why should I 
> have to play around with kernel parameters just to mount a file system?  What 
> is the fuse driver doing that the kernel thinks it needs so much memory?

It's just mmap'ing the whole disk into the process's address space for
the programmers sake.

If that turns out to be a problem we could theoretically go back to
pread/pwrite. But I'm not sure how many users have such large CMS disks?

Jan

>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to