[26821] in Source-Commits
Re: /svn/athena r25772 - trunk/debathena/config/reactivate/debian
daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Thu Sep 27 22:56:46 2012
Date: Thu, 27 Sep 2012 22:56:36 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <06209BCF-599F-43D1-AD7F-2A645383C4FE@MIT.EDU>
Message-ID: <alpine.GSO.1.10.1209272256180.22950@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
So maybe we should leave it in development for longer than usual and try
to give some dev boxes heavy use?
-Ben
On Thu, 27 Sep 2012, Jonathan Reed wrote:
> The tmpfs documentation suggests that you're basically SOL if you run out of memory, so I briefly considered setting a cap of 2.1G or so for the ramdisk, but I guess we can see what happens.
>
> -Jon
>
> On Sep 27, 2012, at 4:37 PM, Benjamin Kaduk wrote:
>
>> Sure, ACK.
>> -Ben
>>
>> On Wed, 26 Sep 2012, Jonathan D Reed wrote:
>>
>>> Author: jdreed
>>> Date: 2012-09-26 15:49:26 -0400 (Wed, 26 Sep 2012)
>>> New Revision: 25772
>>>
>>> Modified:
>>> trunk/debathena/config/reactivate/debian/changelog
>>> trunk/debathena/config/reactivate/debian/debathena-reactivate.init
>>> Log:
>>> In reactivate:
>>> * Bump the chroot's ramdisk to 50% of RAM or 1G, whichever is higher
>>> (Trac: #1207)
>>>
>>>
>>> Modified: trunk/debathena/config/reactivate/debian/changelog
>>> ===================================================================
>>> --- trunk/debathena/config/reactivate/debian/changelog 2012-09-26 17:41:40 UTC (rev 25771)
>>> +++ trunk/debathena/config/reactivate/debian/changelog 2012-09-26 19:49:26 UTC (rev 25772)
>>> @@ -1,3 +1,10 @@
>>> +debathena-reactivate (2.0.41) unstable; urgency=low
>>> +
>>> + * Bump the chroot's ramdisk to 50% of RAM or 1G, whichever is higher
>>> + (Trac: #1207)
>>> +
>>> + -- Jonathan Reed <jdreed@mit.edu> Wed, 26 Sep 2012 15:49:05 -0400
>>> +
>>> debathena-reactivate (2.0.40) unstable; urgency=low
>>>
>>> * Cleanup from r24057, where we had to special-case quickstations via
>>>
>>> Modified: trunk/debathena/config/reactivate/debian/debathena-reactivate.init
>>> ===================================================================
>>> --- trunk/debathena/config/reactivate/debian/debathena-reactivate.init 2012-09-26 17:41:40 UTC (rev 25771)
>>> +++ trunk/debathena/config/reactivate/debian/debathena-reactivate.init 2012-09-26 19:49:26 UTC (rev 25772)
>>> @@ -25,8 +25,12 @@
>>> # Create a tmpfs where schroot puts overlays. This is needed
>>> # because aufs won't let you put an overlay and underlay on the
>>> # same file system.
>>> + tmpfssize="50%"
>>> + if [ "$(machtype -M)" -le 2007518 ]; then
>>> + tmpfssize="1073741824"
>>> + fi
>>> if ! mountpoint -q /var/lib/schroot/union/overlay; then
>>> - mount -t tmpfs -o size=1073741824 tmpfs /var/lib/schroot/union/overlay
>>> + mount -t tmpfs -o size="$tmpfssize" tmpfs /var/lib/schroot/union/overlay
>>> fi
>>>
>>> # Enable subtree operations on /media by making it a mount point,
>>>
>>>
>
>