Re: Making tmpfs reserved memory configurable

2014-05-30 Thread Rhialto
On Fri 30 May 2014 at 16:56:01 +0200, Martin Husemann wrote: > One open issue is the name - I somehow thought "reservee" would be a proper > noune for "reserved memory", but apparently this does not work out well > for native speakers, so it probably should be named something else. > What about "mi

Re: Making tmpfs reserved memory configurable

2014-05-30 Thread Eduardo Horvath
On Fri, 30 May 2014, Martin Husemann wrote: > See mount_tmpfs(8), in the paragraph about the -s option: > >Note that four megabytes are always reserved for the system and cannot >be assigned to the file system. > > Now, with a 3.2 MB text GENERIC kernel and 8 MB RAM, we certainly don't h

Re: Making tmpfs reserved memory configurable

2014-05-30 Thread Mindaugas Rasiukevicius
Martin Husemann wrote: > <...> > > See mount_tmpfs(8), in the paragraph about the -s option: > >Note that four megabytes are always reserved for the system and cannot >be assigned to the file system. > This wording may be confusing. tmpfs does not reserve the memory in a sense of allo

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Martin Husemann
On Fri, May 30, 2014 at 04:56:01PM +0200, Martin Husemann wrote: > I have been on a quest to make the stock vax install CD (-image) usable on > VAX machines with 8 MB recently. (8 MB is the lowest I could persuade simh > to emulate, for 4 MB we will need a custom kernel anyway and for smaller > eve

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Eduardo Horvath
On Thu, 5 Jun 2014, Martin Husemann wrote: > On Fri, May 30, 2014 at 04:56:01PM +0200, Martin Husemann wrote: > > I have been on a quest to make the stock vax install CD (-image) usable on > > VAX machines with 8 MB recently. (8 MB is the lowest I could persuade simh > > to emulate, for 4 MB we wi

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Matt Thomas
On Jun 5, 2014, at 8:47 AM, Martin Husemann wrote: > On Thu, Jun 05, 2014 at 03:36:37PM +, Eduardo Horvath wrote: >> Have you tested this? > > I ran an install on a 8 MB simh VAX, and it worked good enough for that. > No, I wouldn't call that serious testing. can you try using freetarg?

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Martin Husemann
On Thu, Jun 05, 2014 at 03:36:37PM +, Eduardo Horvath wrote: > Have you tested this? I ran an install on a 8 MB simh VAX, and it worked good enough for that. No, I wouldn't call that serious testing. Martin

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Martin Husemann
On Thu, Jun 05, 2014 at 08:50:07AM -0700, Matt Thomas wrote: > > can you try using freetarg? Did that and it worked as well. Does freetarg ever change after boot? Martin

Re: Making tmpfs reserved memory configurable

2014-06-05 Thread Eduardo Horvath
On Thu, 5 Jun 2014, Martin Husemann wrote: > On Thu, Jun 05, 2014 at 08:50:07AM -0700, Matt Thomas wrote: > > > > can you try using freetarg? > > Did that and it worked as well. > > Does freetarg ever change after boot? Maybe. It's set in uvmpd_tune(), which may be called by the page daemon

Re: Making tmpfs reserved memory configurable

2014-06-06 Thread Martin Husemann
On Thu, Jun 05, 2014 at 11:04:06PM +, Eduardo Horvath wrote: > Maybe. It's set in uvmpd_tune(), which may be called by the page daemon > in some circumstances. Take a look at sys/uvm/uvm_pdaemon.c. Hmm, should this be made more explicit in the mount_tmpfs documentation? Under such low memor