Wiki update

How can I make this site better? Let me know what you'd like to see!

Moderators: MattKingUSA, khz

User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Wiki update

Post by khz »

https://wiki.linuxaudio.org/wiki/start wrote:The wiki is a community effort: everyone is welcome to suggest features, help updating wiki pages or joining the development team!
<EDIT>Welcome! If you inform yourself about GNU/Linux, e.g. in the wiki, and find outdated, further, new entries you can report it immediately, you are invited to contribute.
>> Register and log in to the wiki (https://wiki.linuxaudio.org/wiki/start?do=login&sectok= || https://wiki.linuxaudio.org/wiki/editor_notes) to edit posts or create new ones. Thank you, we are LM! :D ! <<</EDIT>

Since I often read that the information from https://wiki.linuxaudio.org is (partly) outdated, my suggestion is:

Collect the obsolete entries here with the current correct correction worked out in community.

We can then add them to the wiki, i.e. bring the wiki up to date.
In my opinion this would help everyone.
https://linuxmusicians.com == https://wiki.linuxaudio.org IMHO
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Wiki update

Post by khz »

@https://wiki.linuxaudio.org/wiki/system ... #quickscan Please correct the entry

Code: Select all

perl ./realTimeConfigQuickScan.pl

to

Code: Select all

perl -I ./ ./realTimeConfigQuickScan.pl
, THX.
<EDIT>done</EDIT>
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

khz wrote:@https://wiki.linuxaudio.org/wiki/system ... #quickscan Please correct the entry

Code: Select all

perl ./realTimeConfigQuickScan.pl

to

Code: Select all

perl -I ./ ./realTimeConfigQuickScan.pl
, THX.
Actually "perl ./realTimeConfigQuickScan.pl" is correct since https://github.com/raboof/realtimeconfi ... an/pull/23
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Wiki update

Post by lilith »

JackWinter mentioned several times in various threads that the reatimeconfig script is outdated and many points are not necessary. Mabye it needs a major rehaul?
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

lilith wrote:JackWinter mentioned several times in various threads that the reatimeconfig script is outdated and many points are not necessary. Mabye it needs a major rehaul?
Contributions are very welcome!
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Wiki update

Post by khz »

raboof wrote:Actually "perl ./realTimeConfigQuickScan.pl" is correct since https://github.com/raboof/realtimeconfi ... an/pull/23
Oh, just new "git clone" and tested, now it works. Great, I had not noticed that. :-)
Thank you!
lilith wrote:JackWinter mentioned several times in various threads that the reatimeconfig script is outdated and many points are not necessary. Mabye it needs a major rehaul?
That's why I opened this thread, among other things.
Instead of just saying what is wrong or outdated it would be more constructive to list it here. Ideally with a correct or current correction suggestion.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Wiki update

Post by khz »

@realTimeConfigQuickScan

==> max_user_watches
The "increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288'" I find confusing. For a newcomer, perhaps even more confusing.
There are references on the net on adjusting the fs.inotify.max_user_watches value also for enhanced performance. But it remains very unclear where these references come from and if adjusting this value actually does anything at all. The max_user_watches parameter sets the maximum number of files your system can monitor with inotify (which is part of the kernel) for changes. Setting this parameter too low results in inotify failing. Setting it too high can make inotify needlessly consume memory. Best is to not touch the default settings as setting this parameter is unrelated to performance in an audio context.
http://wiki.linuxaudio.org/wiki/system_ ... sysctlconf

==> tmpfs
The

Code: Select all

** Warning: no tmpfs partition mounted on /tmp
should be changed.
It should search for "shm". See here for details: viewtopic.php?p=93108#p93108
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

khz wrote:@realTimeConfigQuickScan

==> max_user_watches
The "increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288'" I find confusing. For a newcomer, perhaps even more confusing.
There are references on the net on adjusting the fs.inotify.max_user_watches value also for enhanced performance. But it remains very unclear where these references come from and if adjusting this value actually does anything at all. The max_user_watches parameter sets the maximum number of files your system can monitor with inotify (which is part of the kernel) for changes. Setting this parameter too low results in inotify failing. Setting it too high can make inotify needlessly consume memory. Best is to not touch the default settings as setting this parameter is unrelated to performance in an audio context.
http://wiki.linuxaudio.org/wiki/system_ ... sysctlconf
Couldn't there be applications like DAWs or samplers that have a lot of files open?

Perhaps we should split the advice in 'basic' and 'advanced' tuning, and move this to the 'advanced' at least?
khz wrote:==> tmpfs
The

Code: Select all

** Warning: no tmpfs partition mounted on /tmp
should be changed.
It should search for "shm". See here for details: viewtopic.php?p=93108#p93108
That check has been removed since https://github.com/raboof/realtimeconfi ... an/pull/19
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Wiki update

Post by khz »

raboof wrote:Couldn't there be applications like DAWs or samplers that have a lot of files open?
I don't have any idea. Possible. ;-)
raboof wrote:Perhaps we should split the advice in 'basic' and 'advanced' tuning, and move this to the 'advanced' at least?
Agree.
raboof wrote:That check has been removed since https://github.com/raboof/realtimeconfi ... an/pull/19
Ah, okay, I missed that too. Whereby I find the basic idea of at that time "tmpfs" later then "shm" in the RAM great to move out since the audio in the RAM is worked off faster and the hard disk spares. I would take that into the realTimeConfigQuickScan.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

khz wrote:Whereby I find the basic idea of at that time "tmpfs" later then "shm" in the RAM great to move out since the audio in the RAM is worked off faster and the hard disk spares. I would take that into the realTimeConfigQuickScan.
I'm not sure I understand what you mean, but all means PR a proposal ;)
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Wiki update

Post by khz »

"Shm" - back then "tmps" - outsources the jack audio processes to RAM.
The RAM is faster than writing to the hard disk and the hard disk is spared.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

khz wrote:"Shm" - back then "tmps" - outsources the jack audio processes to RAM.
The RAM is faster than writing to the hard disk and the hard disk is spared.
Yes, it would be great to check that there is indeed a tmpfs mounted on /dev/shm, which JACK would use. PR welcome!
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Wiki update

Post by lilith »

Is it safe to delete the reatimeconfig directory (wonder why it's root root) to get the new version from git. Was there any important change?

Code: Select all

marco@fox:~/realtimeconfigquickscan$ ll
insgesamt 108
-rw-r--r-- 1 root root  1350 Apr 20  2018 AudioGroupCheck.pm
-rw-r--r-- 1 root root  1606 Apr 20  2018 BackgroundCheck.pm
-rw-r--r-- 1 root root  1275 Apr 20  2018 Check.pm
-rw-r--r-- 1 root root 18008 Apr 20  2018 COPYING
-rw-r--r-- 1 root root  1734 Apr 20  2018 GovernorCheck.pm
-rw-r--r-- 1 root root  1737 Apr 20  2018 HighResTimersCheck.pm
-rw-r--r-- 1 root root  1654 Apr 20  2018 HpetCheck.pm
-rw-r--r-- 1 root root  1863 Apr 20  2018 Hz1000Check.pm
-rw-r--r-- 1 root root  1500 Apr 20  2018 KernelConfigCheck.pm
-rw-r--r-- 1 root root  1543 Apr 20  2018 MultiAudioCheck.pm
-rw-r--r-- 1 root root  1886 Apr 20  2018 NoAtimeCheck.pm
-rw-r--r-- 1 root root  1744 Apr 20  2018 NoHzCheck.pm
-rw-r--r-- 1 root root  1567 Apr 20  2018 PreemptRtCheck.pm
-rw-r--r-- 1 root root  2220 Apr 20  2018 QuickScanEngine.pm
-rwxr-xr-x 1 root root  2078 Apr 20  2018 QuickScan.pl
-rw-r--r-- 1 root root   820 Apr 20  2018 README.md
-rwxr-xr-x 1 root root  4061 Apr 20  2018 realTimeConfigQuickScan.pl
-rw-r--r-- 1 root root  1364 Apr 20  2018 RootCheck.pm
-rw-r--r-- 1 root root  1681 Apr 20  2018 RtcCheck.pm
-rw-r--r-- 1 root root  1509 Apr 20  2018 RtprioCheck.pm
-rw-r--r-- 1 root root  1790 Apr 20  2018 SwappinessCheck.pm
-rw-r--r-- 1 root root  1606 Apr 20  2018 SysCtlCheck.pm
-rw-r--r-- 1 root root  1534 Apr 20  2018 WatchesCheck.pm
User avatar
noedig
Established Member
Posts: 233
Joined: Wed Feb 12, 2014 4:39 am
Location: South Africa
Has thanked: 9 times
Been thanked: 52 times

Re: Wiki update

Post by noedig »

On another note: on the http://linuxaudio.org/ page, when you click on Resources, this link:

Code: Select all

lowlatency.linuxaudio.org		Linux Audio Low-Latency Performance How-To
points to a very outdated wiki page. Can this be removed? I think a single link to the wiki (already present) is sufficient IMHO.
Also, the quicktools link points to an odd, outdated site. Is this link necessary?
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Wiki update

Post by raboof »

lilith wrote:Is it safe to delete the reatimeconfig directory
Yes, that should be safe
lilith wrote:wonder why it's root root
You probably (accidentally) were root when you first got it.
lilith wrote:Was there any important change?
There were a couple of neat improvements, but nothing very big. See https://github.com/raboof/realtimeconfi ... its/master
Post Reply