sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 15946] TMPFS should be tunable (DETAILS and default)
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 15946] TMPFS should be tunable (DETAILS and default)
- Date: 20 May 2011 10:29:05 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=15946
--- Comment #3 from Bor Kraljič <pyrobor AT ver.si> 2011-05-20 05:29:03 ---
We had pretty good discussion on IRC where we discussed options. For the best
solution. No ultimate solution was found. But we had few ideas:
1) Use Thomas Orgis idea. Including force option.
- we need to check if not enough space is the only reason we did TMPFS=off in
spells.
2) Use Thomas Orgis idea. But without force option. Remove TMPFS=off from
spells. (we could add query to manualy enable it) Set default TMPFS_SIZE to
1gb
and warn users that some spells will fail with default setting for
TMPFS_SIZE.
- default setting will fail for some spells.
3) My first suggestion (we modify var/lib/sorcery/modules/build_api/api2 so it
accepts TMPFS_SIZE from DETAILS). We need some kind of logic somewhere to
check
if user has enough RAM. That could be done somehow like the code in PREPARE of
the spell qt4.
- logic should be in sorcery and not in spells.
4) Set BUILD_SIZE for big spells in DETAILS. Sorcery could check that build
size against TMPFS_SIZE and fallback to disk compile if there is the need to
do
that.
+ BUILD_SIZE could be also used to check if there is enough disk space
- At some point devel sorcery would need in DETAILS BUILD_SIZE and without
TMPFS=off. At same point stable sorcery would still need TMPFS=off. That
complicates transition.
I think those are the options that we discussed. But I might have missed
something in this short abstract. Feel free to add your ideas.
PS: ATM there only 9 spells that have TMPFS=off in DETAILS. (e2fsprogs,
openoffice, gcj, texlive-texmf, util-linux, qt4, wxgtk-new, wxgtk-no-unicode
and wxgtk). So solution could be on spell level. But keep in mind that we want
to keep logic out of spells if possible.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-
[SM-Sorcery-Bugs] [Bug 15946] TMPFS should be tunable (DETAILS and default),
bugzilla-daemon, 05/20/2011
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 15946] TMPFS should be tunable (DETAILS and default), bugzilla-daemon, 05/20/2011
- [SM-Sorcery-Bugs] [Bug 15946] TMPFS should be tunable (DETAILS and default), bugzilla-daemon, 05/20/2011
Archive powered by MHonArc 2.6.24.