[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
Next revisionBoth sides next revision
studioware:tips_and_hints [2016/07/25 23:27 (UTC)] – [CCache] divestudioware:tips_and_hints [2018/05/06 17:27 (UTC)] – Add cpufreq note dive
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-====== Tips and Hints ======+====== Studioware Tips and Hints ======
  
 ===== Slackware ===== ===== Slackware =====
Line 24: Line 24:
     * 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 38:
     * 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 71: Line 82:
 To start using it, get root and:\\ To start using it, get root and:\\
 cd /usr/local/bin\\ cd /usr/local/bin\\
-cp /usr/bin/ccache .\\ + 
-ln -s ccache cc\\ +ln -s /usr/bin/ccache cc\\ 
-ln -s ccache c++\\ +ln -s /usr/bin/ccache c++\\ 
-ln -s ccache gcc\\ +ln -s /usr/bin/ccache gcc\\ 
-ln -s ccache g++\\+ln -s /usr/bin/ccache g++\\
  
 To set a max size for the cache, use EG:\\ To set a max size for the cache, use EG:\\
-cccache -M 5G\\ +ccache -M 5G\\ 
-That sets a max size of 5GB.\\+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:\\ To see some info about ccache, do:\\
 studioware:tips_and_hints ()