Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20791 - jack-cvs configure option for using ramfs on tmpfs
Summary: jack-cvs configure option for using ramfs on tmpfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: J. Ellis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-11 10:49 UTC by Antoine Rivoire
Modified: 2003-05-31 07:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified ebuid, figured this was quicker than a patch for testing with... (jack-cvs-0.7.ebuild,1.55 KB, text/plain)
2003-05-24 16:23 UTC, rob holland (RETIRED)
Details
Replacement for last attachment. I added a unrelated DEP by mistake.. :/ (jack-cvs-0.7.ebuild,1.52 KB, text/plain)
2003-05-24 16:29 UTC, rob holland (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Rivoire 2003-05-11 10:49:07 UTC
seen in the ardour dev-list, a new configure option allows jack to use ramfs for
its tmpfs. _granted_ that user have enough ram, this dramatically diminishes
xruns under heavy disk load when using reiserfs or / partition.
the flag is : 
--with-default-tmpdir=/mnt/ramfs

ardour needs lots of ram to run properly, so maybe this can safley be added to
the ebuild

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Antoine Rivoire 2003-05-11 10:50:47 UTC
new config flag to make jack use ramfs for its tmpfs
Comment 2 J. Ellis (RETIRED) gentoo-dev 2003-05-15 08:48:57 UTC
Perhaps this could be done with a local use flag? Not everyone is going to want to do that and the mount point we change.
Comment 3 Torben Hohn (RETIRED) gentoo-dev 2003-05-17 11:27:12 UTC
jack puts only its pipes into the ramfs... this takes almost no mem.
so i think everybody wants that. but as it requires some fstab patching it should remain an option.


Comment 4 rob holland (RETIRED) gentoo-dev 2003-05-24 16:23:12 UTC
Created attachment 12371 [details]
Modified ebuid, figured this was quicker than a patch for testing with...

Jon,

It all works fine for me using this ebuild.

$ ls /dev/shm
total 0
drwxr-xr-x    3 root	 root		60 May 24 19:37 jack

ardour finds jack fine.

Can you try this ebuild and let me know if you have any joy with it?

You'll need to do USE="tmpfs". Feel free to suggest a better name for it :)
Comment 5 rob holland (RETIRED) gentoo-dev 2003-05-24 16:29:17 UTC
Created attachment 12372 [details]
Replacement for last attachment. I added a unrelated DEP by mistake.. :/

I addded the libcap dep too the ebuild and forgot to remove it before posting.
Comment 6 J. Ellis (RETIRED) gentoo-dev 2003-05-31 07:32:01 UTC
Commited.

The local use flag jack-tmpfs now allows temp files to be on /dev/shm.