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: [email protected] [mailto:meta-arago-
[email protected]] On Behalf Of R, Karthik
Sent: Thursday, January 29, 2015 8:31 AM
To: [email protected]
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 <[email protected]>
---
.../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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago