[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
studioware:tips_and_hints [2016/07/26 05:44 (UTC)] – [CCache] divestudioware:tips_and_hints [2019/04/24 18:00 (UTC)] dive
Line 1: Line 1:
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> +====== Studioware: Tips and Hints ======
-====== Tips and Hints ======+
  
 ===== Slackware ===== ===== Slackware =====
  
-  * We recommend running Studioware on a stock vanilla Slackware Installation.+  * We recommend running Studioware on a full Slackware Installation.
  
 ===== Extra Options for sepkg/multilib ===== ===== Extra Options for sepkg/multilib =====
Line 24: Line 23:
     * Put the line 'ulimit -l unlimited' (or whichever value you need) in /sbin/initscript.sample and copy it to /etc/initscript. **Do not remove the exec line!**     * Put the line 'ulimit -l unlimited' (or whichever value you need) in /sbin/initscript.sample and copy it to /etc/initscript. **Do not remove the exec line!**
     * Reboot required.     * Reboot required.
-  * Having problems with applications (ardour3 for example) failing to start jack with realtime scheduling?+  * Having problems with applications (ardour for example) failing to start jack with realtime scheduling?
     * Add the line 'ulimit -r 65' to /etc/initscript as described above.     * Add the line 'ulimit -r 65' to /etc/initscript as described above.
     * Reboot required.     * Reboot required.
Line 38: Line 37:
     * Run Lilo 'lilo'.     * Run Lilo 'lilo'.
     * Reboot required.     * Reboot required.
 +
 +===== More Performance Options =====
 +
 +To stop CPU throttling from affecting jackd and other apps you can change the cpufreq priority:\\
 +
 +/etc/rc.d/rc.cpufreq performance
 +
 +This can be reset by
 +
 +/etc/rc.d/rc.cpufreq ondemand
 +
  
 ===== Asoundrc ===== ===== Asoundrc =====
Line 69: Line 79:
 Slackware comes with ccache. Slackware comes with ccache.
  
-To start using it, get root and:\\ +To start using it, get root and:
-cd /usr/local/bin\\ +
-cp /usr/bin/ccache .\\ +
-ln -s ccache cc\\ +
-ln -s ccache c++\\ +
-ln -s ccache gcc\\ +
-ln -s ccache g++\\+
  
-To set a max size for the cache, use EG:\\ +<code> 
-ccache -M 5G\\ +cd /usr/local/bin
-That sets a max size of 5GB in ~/.ccache\\ +
-You obviously need to set it for your needs and available space.\\+
  
-To see some info about ccache, do:\\ +ln -s /usr/bin/ccache cc 
-ccache -s\\+ln -s /usr/bin/ccache c++ 
 +ln -s /usr/bin/ccache gcc 
 +ln -s /usr/bin/ccache g++ 
 +</code> 
 + 
 +To set a max size for the cache: 
 + 
 +<code>ccache -M 5G</code> 
 + 
 +That sets a max size of 5GB in /root/.ccache 
 + 
 +You obviously need to set it for your needs and available space. 
 + 
 +To see some info about ccache, do: 
 + 
 +<code>ccache -s</code> 
 + 
 +To temporarily turn it off: 
 + 
 +<code>export CCACHE_DISABLE=1</code>
  
-To temporarily turn it off:\\ 
-CCACHE_DISABLE=1\\ 
-can be put in a SlackBuild or exported in the shell.\\ 
 If that fails to work then just move the symlinks out of /usr/local/bin If that fails to work then just move the symlinks out of /usr/local/bin
  
-and don't forget to read the man page.+Don't forget to read the man page. 
 ====== Sources ====== ====== Sources ======
-<!-- If you are copying information from another source, then specify that source --> 
-<!-- * Original source: [[http://some.website.org/some/page.html]] --> 
-<!-- Authors are allowed to give credit to themselves! --> 
   * Originally written by [[wiki:user:mesa | mesa]]\\   * Originally written by [[wiki:user:mesa | mesa]]\\
   * Contributions by [[wiki:user:dive | dive]]   * Contributions by [[wiki:user:dive | dive]]
  
-<!-- Please do not modify anything below, except adding new tags.--> 
-<!-- You must remove the tag-word "template" below before saving your new page --> 
 {{tag>studioware tips hints mate sepkg}} {{tag>studioware tips hints mate sepkg}}
 +
 studioware:tips_and_hints ()