From: Karthik Ramanan <a0393906@ti.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>,
"R, Karthik" <karthik.ramanan@ti.com>
Subject: Re: [RFC PATCH] base-files: Increase /var/volatile size
Date: Thu, 29 Jan 2015 20:30:30 +0530 [thread overview]
Message-ID: <54CA4B0E.10503@ti.com> (raw)
In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C7F048A@DFLE08.ent.ti.com>
Thanks for the feedback Franklin.
Starting from Weston 1.6.0, weston itself consumes about 10MB of the
tmpfs while it initializes. You might have not seen this because this is
observable only when you use multiple displays (usually with DRM backend).
And then on top of this when you invoke many the weston applications
together, we quickly run out of the 16MB size that is preconfigured.
It is desirable that this size be as high as possible to allow more UI
intensive applications, and many applications, to be able to run
simultaneously.
This would be needed for all platforms and more so with QT applications
coming in, I'm guessing that this will need to be set to a higher value.
Can we agree on some reasonably big size?
Regards
Karthik
On 29-Jan-15 8:20 PM, Cooper Jr., Franklin wrote:
> I think the size just determines the "maximum" amount of RAM that can be used. So your basically your allowing the tmpfs to consume upto 50MB of memory. I never seen an issue on Beaglebone Black and AM57 with the current tmpfs being too small. Are the problems your seeing related to a particular application/demo? If its specific to a particular platform maybe just create a custom fstab for that platform.
>
>> -----Original Message-----
>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>> bounces@arago-project.org] On Behalf Of R, Karthik
>> Sent: Thursday, January 29, 2015 8:31 AM
>> To: meta-arago@arago-project.org
>> Subject: [meta-arago] [RFC PATCH] base-files: Increase /var/volatile size
>>
>> * Weston applications allocate memory from tmpfs, need to
>> increase the tmpfs area to atleast 50M. Can this be
>> increased more - what are the pros/cons?
>>
>> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>> ---
>> .../recipes-core/base-files/base-files/fstab | 2 +-
>> .../base-files/base-files_3.0.14.bbappend | 2 +-
>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta-arago-distro/recipes-core/base-files/base-files/fstab
>> b/meta-arago-distro/recipes-core/base-files/base-files/fstab
>> index 9ed6f33..8ddadd9 100644
>> --- a/meta-arago-distro/recipes-core/base-files/base-files/fstab
>> +++ b/meta-arago-distro/recipes-core/base-files/base-files/fstab
>> @@ -5,7 +5,7 @@ proc /proc proc defaults 0 0
>> devpts /dev/pts devpts mode=0620,gid=5 0 0
>> usbdevfs /proc/bus/usb usbdevfs noauto 0 0
>> tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0
>> 0
>> -tmpfs /var/volatile tmpfs defaults,size=16M 0 0
>> +tmpfs /var/volatile tmpfs defaults,size=50M 0 0
>> tmpfs /media/ram tmpfs defaults,size=16M 0 0
>>
>> # uncomment this if your device has a SD/MMC/Transflash slot diff --git
>> a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
>> b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
>> index 40b7722..956a057 100644
>> --- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend
>> +++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappe
>> +++ nd
>> @@ -1,4 +1,4 @@
>> # look for files in this layer first
>> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>
>> -PR_append = "-arago3"
>> +PR_append = "-arago4"
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2015-01-29 15:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 14:31 [RFC PATCH] base-files: Increase /var/volatile size Karthik Ramanan
2015-01-29 14:50 ` Cooper Jr., Franklin
2015-01-29 15:00 ` Karthik Ramanan [this message]
2015-01-29 15:08 ` Cooper Jr., Franklin
2015-01-29 15:19 ` Dmytriyenko, Denys
2015-02-12 21:09 ` Denys Dmytriyenko
2015-02-13 4:17 ` Karthik Ramanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54CA4B0E.10503@ti.com \
--to=a0393906@ti.com \
--cc=fcooper@ti.com \
--cc=karthik.ramanan@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.