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

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

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

#1 Post 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

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#2 Post 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.

ITSMERSH

#3 Post 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?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#4 Post 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

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#5 Post by rockedge »

a bionicpup fresh from woof-CE out-fitted with the 4.14.63-rt37 Full RT kernel
Attachments
Screenshot(1)-600px.png
(39.22 KiB) Downloaded 1510 times

roadkill13
Posts: 154
Joined: Wed 10 Aug 2011, 21:41
Location: United States
Contact:

xenialpup 7.5

#6 Post by roadkill13 »

I changed to this kernel in XenialPup 7.5. It works quite well on my rig.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#7 Post 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/

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#8 Post 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.

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#9 Post by darry19662018 »

Thank you Rockedge for this updated Tahr with a newer kernel runs sweetly on my Dell D620. :D

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#10 Post 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....
Attachments
screenshot-1.png
(95.85 KiB) Downloaded 1296 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post 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?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#12 Post 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 :)

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#13 Post 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.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#14 Post 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

ITSMERSH

#15 Post 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). :?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#16 Post 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?

ITSMERSH

#17 Post 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.

ITSMERSH

#18 Post 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...

ITSMERSH

#19 Post 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! :)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#20 Post 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.

Post Reply