topic title: Persistence on HDD
Posts: 107
brian
Joined: 10 Sep 2011
#1
Hi everyone,
I've just installed the newest version of antiX on my laptop, and very happy with it. Just a few questions:

how can I make changes to my system and have them stick? In particular, the following issues regarding audio production, as shown in the terminal output here:

Code: Select all

 perl ./realTimeConfigQuickScan.pl 
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 3.7.10 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'ondemand' CPU 1: 'ondemand'  - not good
Set CPU Governors to 'performance' with 'cpufreq-set -c <cpunr> -g performance'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=844
Checking swappiness... 60 - not good
** vm.swappiness is larger than 10
set it with '/sbin/sysctl -w vm.swappiness=10'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=30#p8916
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... not readable - not good
/dev/hpet found, but not readable.
make /dev/hpet readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#hpet
Checking access to the real-time clock... not readable - not good
/dev/rtc found, but not readable.
make /dev/rtc readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#real-time_clock
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... not found - not good
Kernel without real-time capabilities found
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel
Checking if kernel system timer is set to 1000 hz... not found - not good
Try setting CONFIG_HZ to 1000

Checking kernel support for tickless timer... found - good
I'm particularly interested in the CPU governors set to"performance" and not"ondemand", the swappiness changed to 10, and the rtc and hpet files readable. (I can change them successfully but on reboot they have returned to their original settings.)

Another issue I'm having is a simple install of amSynth (not the one in the repos) here:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://code.google.com/p/amsynth/wiki/BuildingFromSource"
linktext was:"http://code.google.com/p/amsynth/wiki/B ... FromSource"
====================================


I've tried both methods (tarball and git) but I get errors, even though I have git, make, autogen and gcc installed on my system.


Thanks in advance!
Really a lightweight distro! (I've been using it for the last several years now, and very happy!)

brian
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
brian wrote:how can I make changes to my system and have them stick?
The normal way to do this is to edit the file /etc/rc.local (as root). For example, you would want to add lines like:

Code: Select all

cpufreq-set -g performance
sysctl -w vm.swappiness=10
and so on.

BTW: using the performance governor on my 2.7 GHz dual core Althon causes it to consume 11 more watts at idle.
Posts: 107
brian
Joined: 10 Sep 2011
#3
BitJam wrote:
brian wrote:how can I make changes to my system and have them stick?
The normal way to do this is to edit the file /etc/rc.local (as root). For example, you would want to add lines like:

Code: Select all

cpufreq-set -g performance
sysctl -w vm.swappiness=10
and so on.

BTW: using the performance governor on my 2.7 GHz dual core Althon causes it to consume 11 more watts at idle.
Hi BitJam,
thanks for the help. In all honesty I can't complain about the speed of antiX even without the modifications. These additional settings are recommended, but perhaps they aren't necessary on newer distros anymore. (Even having a realtime kernel isn't necessary anymore since the generic kernel is already fast.)

I think what I'll do is make more test runs before making the changes to the rc.local file, and do it only if I really find problems.


On another note, when installing the git version of amsynth, when I run the ./autogen.sh command I got this error:

Code: Select all

./autogen.sh
Activated pre-commit hook.
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:44: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:45: error: possibly undefined macro: AC_DEFINE
autoreconf: /usr/bin/autoconf failed with exit status: 1
Anyone know what I need to change?

Thanks!

brian
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
A quick Google(AC_PROG_LIBTOOL) gives
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/jmervine/httperf/issues/1"
linktext was:"this solution"
====================================
:
I was just now able to install this on Debian 6.0.1 by doing the following first:

$ sudo apt-get update
$ sudo apt-get install libtool
$ sudo apt-get install autoconf --fix-missing
$ sudo apt-get install automake (if not installed with autoconf)

Also ensure that you have installed"build-essential". If you're not 100% sure, the following should get everything for you:

sudo apt-get install build-essential libtool autoconf automake
This didn't fully solve the person's problem because they then hit a syntax error but this should at least get you going in the right direction.

TL;DR: apt-get install libtool
Posts: 107
brian
Joined: 10 Sep 2011
#5
BitJam wrote:A quick Google(AC_PROG_LIBTOOL) gives
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/jmervine/httperf/issues/1"
linktext was:"this solution"
====================================
:
I was just now able to install this on Debian 6.0.1 by doing the following first:

$ sudo apt-get update
$ sudo apt-get install libtool
$ sudo apt-get install autoconf --fix-missing
$ sudo apt-get install automake (if not installed with autoconf)

Also ensure that you have installed"build-essential". If you're not 100% sure, the following should get everything for you:

sudo apt-get install build-essential libtool autoconf automake
This didn't fully solve the person's problem because they then hit a syntax error but this should at least get you going in the right direction.

TL;DR: apt-get install libtool
I added libtool, but it didn't resolve anything:

Code: Select all

./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:44: error: possibly undefined macro: AC_CHECK_HEADERS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:45: error: possibly undefined macro: AC_DEFINE
autoreconf: /usr/bin/autoconf failed with exit status: 1
brian
Posts: 107
brian
Joined: 10 Sep 2011
#6
Finished! Here it is. (see attachment)

Thanks!

brian