Page 1 of 2

Tahr-RT-6.0.6 with a real time kernel 4.14.63-rt37

Posted: Fri 07 Sep 2018, 23:58
by rockedge
This is a build of tahr-6.0.6-uefi with a real time kernel

Download Link -> http://rockedge.org/kernels/

Code: Select all

Distro: tahrpup 6.0.6
Window Manager: JWM v2.3.6
Desktop Start: xwin jwm

Development:
 Bash: 4.3.11
 Geany: 1.29
 Gtkdialog: 0.8.4
 Perl: 5.18.2
 Python: 2.7.6
 Yad: 0.40.0 (GTK+ 2.24.23)
 --
 busybox: 1.23.1
 dhcpcd: 6.7.1
 Glibc: 2.19
 OpenSSL: 1.0.1f 6 Jan 2014, built on: Wed Jun 20 12:27:45 UTC 2018
 wpa_supplicant: 2.1

▶—— /etc/DISTRO_SPECS ——◀

One or more words that identify this distribution:
 • DISTRO_NAME='tahrpup'

Version number of this distribution:
 • DISTRO_VERSION=6.0.6

The distro whose binary packages were used to build this distribution:
 • DISTRO_BINARY_COMPAT='ubuntu'

Prefix for some filenames: exs: tahrsave.2fs, tahr-6.0.6.sfs
 • DISTRO_FILE_PREFIX='tahr'

The version of the distro whose binary packages were used to build this distro:
 • DISTRO_COMPAT_VERSION='trusty'

Read by /usr/bin/xwin to bypass Xorg Wizard at first boot:
 • DISTRO_XORG_AUTO='yes'

 • DISTRO_KERNEL_PET='Huge_Kernel'

 • DISTRO_DB_SUBNAME='tahr'

 • DISTRO_TARGETARCH='x86'

 • BUILD_FROM_WOOF='testing;c0984927;2018-09-05 16:22:53 +0300'
The kernel 4.14.63 was compiled using the kernel-kit with the Real Time patches-4.14.63-rt40.tar.xz applied and aufs=4.14.56+

Code: Select all

Kernel Release: 4.14.63-rt37
Build Date: Fri Sep 7 03:11:51 EDT 2018
Build GCC: 7.3.0
OS Support: GNU/Linux
Architecture: i686
SMP Enabled: Yes
PAE Enabled: Yes

Posted: Mon 10 Sep 2018, 21:22
by Smithy
hi rockedge, just been running your kernel up the flagpole for a couple of days. Running nicely and low latency in jack/qtractor.
Hard Info/ Available entropy in dev/random=healthy.
A non pae version would be good if you ever feel inclined. Just noticed how pae kernels really use up the ram on little computers.

Posted: Tue 11 Sep 2018, 00:29
by ITSMERSH
Hi.

I want to try this by changing the kernels in my Art Studio (tahr602). Do I need to rename the kernel modules sfs to the zdrv sfs?

If not, how to load at boot?

Posted: Tue 11 Sep 2018, 14:58
by rockedge
download the kernel
in your installed frugal puppy delete or rename vmlinuz and zdrv_xxx_xxx.sfs Something like vmlinuz-original and zdrv_xxx_xxx.sfs.original

now extract the kernel you downloaded. there are 2 files copy those into your frugal install and rename them to match the vmlinuz and zdrv_xxx_xxx.sfs you deleted or renamed

reboot.

that is all there is to it. and for you I would try the full rt version...I have been using LMMS to test and so far good results. on Tahr, Xenial and Bionic all 3 just built using woof-CE

Posted: Tue 11 Sep 2018, 19:04
by rockedge
a bionicpup fresh from woof-CE out-fitted with the 4.14.63-rt37 Full RT kernel

xenialpup 7.5

Posted: Tue 11 Sep 2018, 19:43
by roadkill13
I changed to this kernel in XenialPup 7.5. It works quite well on my rig.

Posted: Thu 13 Sep 2018, 11:47
by rockedge
Smithy wrote:A non pae version would be good if you ever feel inclined. Just noticed how pae kernels really use up the ram on little computers.
good idea .... so here it is kernel 4.14.63-rt37_full-rt_nopae

Download -> http://rockedge.org/kernels/

Posted: Thu 13 Sep 2018, 20:48
by Smithy
Thanks for making that available. I tried it on my little netbook, but it took a lot of ram up. Is it definitely no-pae?
When I boot up with a pae kernel, the ram container on the desktop is always kind of half empty, but say with Joseph's pupjibaro (non pae) 3.17xx it is full.

Posted: Fri 14 Sep 2018, 07:47
by darry19662018
Thank you Rockedge for this updated Tahr with a newer kernel runs sweetly on my Dell D620. :D

Posted: Fri 14 Sep 2018, 11:23
by rockedge
Smithy, I double checked and the kernel is definitely no-pae

I will test to see what the RAM usage looks like on my IBM ThinkPad T-42 using this tahr and kernel combo....

Posted: Fri 14 Sep 2018, 11:48
by bigpup
What is the difference in a RT kernel and a normal kernel?

Does the RT kernel give you something you need?
Some added features?

Posted: Fri 14 Sep 2018, 12:15
by rockedge
a very general rule of thumb

Code: Select all

high latency = high throughput = data server
medium latency = medium throughput = desktop (runs smoothly even under load)
low latency = low throughput = media server (midi), embedded
real-time is ultra low latency = embedded, military, industrial robots, aviation, audio recording and sequencers
I made this kernel(s) for running MIDI keyboards using LMMS and recording it with Audacity or exported to .wav

object detection using machine learning such as the opencv libraries for robot optics or security

now with a Tahrpup one can build a Terminator :)

Posted: Fri 14 Sep 2018, 16:35
by Smithy
Thanks Rockedge, I was running it in Artful, possibly I need to tweak the initrd.gz or something. I made an only i915 barebones Artful for my netbook, but the pae's are not very good with it.

Posted: Fri 14 Sep 2018, 17:35
by Moat
bigpup wrote:What is the difference in a RT kernel and a normal kernel?
When doing more involved audio recording (as in studio music recording/production), there exists a time lag between the audio input into the computer (say, a person singing into a microphone) and the final output sound, due to all of the processing required by the recording software that the signal is being fed through. That lag is called "latency", and can be significant enough to at minimum be annoying, and often bad enough to make listening to yourself (via software post-processed monitoring) in real-time completely unuseable when trying to keep time/tempo with the music, as an example (similar to the time lag experienced when talking on cell phones). A Real Time kernel is specifically tweaked to direct CPU processing & data handling towards reducing that time lag/latency during recording/monitoring to a minimum - and the reduction can be very noticeable in use, often reduced to the point of being un-noticable (somewhere around ~10-15 milliseconds and below), and thus no longer an issue.

Very important and useful when doing more complex audio recording!

Windows and Mac kernels do this OOTB, AFAIK, and have for quite some time (I've done a fair amount of such audio multi-track recording on Windows over the years - even on 98 - with very acceptable latencies - even on old PIII's).

Bob

Posted: Mon 01 Oct 2018, 14:14
by ITSMERSH
Hi.

I'm using the real time kernel now for a few days and it seems to be pretty stable.

Though, the problem I was hoping to solve by the use of a real time kernel still remains. Getting Xrun some frames might be lost messages still in Qtractor. I'm using it in combination with Hydrogen and ZynAddSubFx. The Xrun some frames might be lost messages appearing only on the ZynAddSubFx tracks and they disappear when muting single tracks (which couldn't be of any solution). :?

Posted: Mon 01 Oct 2018, 18:22
by rockedge
Hi! glad the kernel is running stable. Do you have any cpu frequency scaling driver running?

I have a a machine running with these specs

Code: Select all

Intel(R) Pentium(R) 4 CPU 2.40GHz
Max Speed: 3060 MHz
Current Speed of Core 0:2399 MHz

Frequency governor   : performance
Freq. scaling driver : p4-clockmod
this is an older machine but Puppy Linux is set at default with an on-demand driver. Maybe you may have the some type of cpu scaling program?

Posted: Tue 02 Oct 2018, 01:27
by ITSMERSH
Hi rockedge.

Here's mine:

Code: Select all

PC Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: To be filled by O.E.M.

Motherboard Vendor: Gigabyte Technology Co., Ltd.
Product Name: F2A88XM-DS2

BIOS Vendor: American Megatrends Inc.
Version: F7
Release Date: 06/24/2014

AMD A6-6400K APU with Radeon(tm) HD Graphics
Max Speed: 3900 MHz
Current Speed of Core 0:1800 MHz, 1:3100 MHz
Core Count: 2
Thread Count: 2

Frequency governor   : ondemand
Freq. scaling driver : acpi-cpufreq
Seems like Frequency governor needs to be changed/optimized, but how to do? Is this to setup in Puppy or in BIOS?

On my old machine (unfortunately broken) I hadn't any problems like that, but it was Intel Core Duo CPU.

Posted: Tue 02 Oct 2018, 03:09
by ITSMERSH
Ok, I have had a look into the BIOS. Set everything found on CPU to auto and deactivated the cool&quiet function. Set all the fans to full speed also.

Now it looks like that:

Code: Select all

PC Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: To be filled by O.E.M.

Motherboard Vendor: Gigabyte Technology Co., Ltd.
Product Name: F2A88XM-DS2

BIOS Vendor: American Megatrends Inc.
Version: F7
Release Date: 06/24/2014

AMD A6-6400K APU with Radeon(tm) HD Graphics
Max Speed: 3900 MHz
Current Speed of Core 0:4092 MHz, 1:4092 MHz
Core Count: 2
Thread Count: 2

temp1 (radeon) : +68.0 C (high = +NA.0 C, crit = +120.0 C)
temp1 (k10temp) : +51.0 C (high = +70.0 C, crit = +80.0 C)
temp1 (it8620) : +41.0 C (high = +127.0 C, crit = +NA.0 C)
temp3 (it8620) : +64.0 C (high = +127.0 C, crit = +NA.0 C)
temp4 (it8620) : +45.0 C (high = +NA.0 C, crit = +NA.0 C)
temp5 (it8620) : +45.0 C (high = +NA.0 C, crit = +NA.0 C)
temp6 (it8620) : +45.0 C (high = +NA.0 C, crit = +NA.0 C)

Personal Storage: RAM Disk
 4,3G 	181M 	4,1G 	5%

Memory Allocation:
 Total RAM: 3976 MB
 Used RAM: 999 MB
 Free RAM: 2977 MB
 Buffers: 10 MB
 Total Swap: 9039 MB
 Free Swap: 9039 MB

Linux Kernel: 4.14.63-rt37 (i686)
Kernel Version: #1 SMP PREEMPT Fri Sep 7 03:11:51 EDT 2018
PAE Enabled: Yes

Distro: Art Studio 1.0.0
Desktop Panel: lxpanel 0.6.1
Window Manager: Openbox 3.5.2
Desktop Start: xwin openbox
Frequency governor seems to be gone and both cores are now running at equal frequency.

Just hope this will do it...

Posted: Tue 02 Oct 2018, 16:29
by ITSMERSH
After doing some tests I found all the Xruns seems to be gone now. So I stuck with that BIOS settings running the real time kernel constantly in my Art Studio.

Thanks again for the real time kernel! :)

Posted: Sat 06 Oct 2018, 22:55
by rockedge
Hello! That sounds great! glad it is working and you found some good settings.

There is the Menu->System->CPU Frequency Scaling Tool
that will allow one to change the cpu frequency scaling driver on-the-fly.

But since it is going well with your current settings leave it that way.