Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Alternative Performance Kernel for Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
AdrianTM
Posts: 2499
Joined: 2004-09-19 01:08

Re: Alternative Performance Kernel for Debian

#61 Post by AdrianTM »

Leaving aside the douchebaggery, I think it would be interesting to come up with a clear(er) measurement for latency. Maybe launching hundreds of instances of a program at a time and still be able to do some useful work? Does anybody know how latency and responsiveness can be measured in an objective way?
Ubuntu hate is a mental derangement.

gnudude
Posts: 1684
Joined: 2009-04-05 17:30
Location: gone....

Re: Alternative Performance Kernel for Debian

#62 Post by gnudude »

I haven't found any way to 'see' better performance from the liquorix kernels......maybe I am a douchebag...maybe...

User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

Re: Alternative Performance Kernel for Debian

#63 Post by Telemachus »

gnudude wrote:I haven't found any way to 'see' better performance from the liquorix kernels......maybe I am a douchebag...maybe...
First, these are clearly two separate questions.

More seriously, I think that in ordinary use the average user would never see signficant effects from kernel tweaking. If you do video editing, heavy gaming or serious sound work, maybe. Otherwise, probably not. This has been my experience, at least, and I've experimented with many different kernels and patches over a number of years.

To be honest, the two things that I found I really feel - performance wise - are noatime and a faster spinning hard drive.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System

gnudude
Posts: 1684
Joined: 2009-04-05 17:30
Location: gone....

Re: Alternative Performance Kernel for Debian

#64 Post by gnudude »

I think I shall have to agree, not about the douchebag part but the performance part.

I guess I will have to leave the performance testing to the big boys and just stick to my noatime and fiddle with the different schedulers and filesystems...

damentz
Posts: 43
Joined: 2009-09-14 03:01

Re: Alternative Performance Kernel for Debian

#65 Post by damentz »

For anyone interested, there is a BFS folder in http://liquorix.net/test. Try it out and see if anything breaks....

If not, I'll be using BFS in my kernel instead due to it's more reliable deadlines and average lower latency / higher throughput.

damentz
Posts: 43
Joined: 2009-09-14 03:01

Re: Alternative Performance Kernel for Debian

#66 Post by damentz »

BFS v300

Code: Select all

real	0m56.723s
user	1m31.579s
sys	0m10.000s
The code in place to work around a certain bug ineffectively was removed, reducing the overhead. New kernels will be uploaded as 1.dmz.3a in the /test/ folder again.

EDIT: using BFS v300, not v240-test2. This version was simply renamed as there were no bugs.

Conrad
Posts: 25
Joined: 2008-04-23 19:37

Re: Alternative Performance Kernel for Debian

#67 Post by Conrad »

Hi,
your kernel '2.6.31-1.dmz.2-liquorix-amd64' works very well. I use Nvidia drivers, an X-Fi and Pulseaudio with some LADSPA effects. The various audio streams report latencies from 0 to about 0.5ms. :)

damentz
Posts: 43
Joined: 2009-09-14 03:01

Re: Alternative Performance Kernel for Debian

#68 Post by damentz »

Conrad wrote:Hi,
your kernel '2.6.31-1.dmz.2-liquorix-amd64' works very well. I use Nvidia drivers, an X-Fi and Pulseaudio with some LADSPA effects. The various audio streams report latencies from 0 to about 0.5ms. :)
Thanks :)

My newer kernels are now using BFS, so you should achieve even less latency that you observed previously.

Conrad
Posts: 25
Joined: 2008-04-23 19:37

Re: Alternative Performance Kernel for Debian

#69 Post by Conrad »

Yes, now it's about 0.2msecs. :)

tjwallace
Posts: 15
Joined: 2009-11-02 22:59

Re: Alternative Performance Kernel for Debian

#70 Post by tjwallace »

Trying this out now. Don't have any benchmarks but the overall system is now very snappy.

User avatar
alpha-dog
Posts: 49
Joined: 2009-09-24 17:10

Re: Alternative Performance Kernel for Debian

#71 Post by alpha-dog »

liquorix has the 2.6.32 kernel out already. I installed it yesterday and the ATI proprietary drivers loaded without a problem.

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Alternative Performance Kernel for Debian

#72 Post by nadir »

Code: Select all

root@desktop-sid# cat /etc/apt/sources.list.d/liquorix.list 
deb http://liquorix.net/debian sid main
W: Failed to fetch http://liquorix.net/debian/dists/sid/ma ... ackages.gz Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
how come? i had the same line in /etc/apt/sources.list.d/liquorix.list used successfully in the past. i had it commented out for a while, and am getting the error now.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

tjwallace
Posts: 15
Joined: 2009-11-02 22:59

Re: Alternative Performance Kernel for Debian

#73 Post by tjwallace »

nadir wrote:

Code: Select all

root@desktop-sid# cat /etc/apt/sources.list.d/liquorix.list 
deb http://liquorix.net/debian sid main
W: Failed to fetch http://liquorix.net/debian/dists/sid/ma ... ackages.gz Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
how come? i had the same line in /etc/apt/sources.list.d/liquorix.list used successfully in the past. i had it commented out for a while, and am getting the error now.
Hmm I am om amd64 and getting the same thing...
W: Failed to fetch http://liquorix.net/debian/dists/unstab ... ackages.gz Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Alternative Performance Kernel for Debian

#74 Post by nadir »

have you tried again? ( i tried several times and it didna work, if it wont soon i will forget )

in other words: if it will work, please post over here or pm me, so i will remember :-)
tia
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Alternative Performance Kernel for Debian

#75 Post by craigevil »

# Liquorix sources added by smxi
deb http://liquorix.net/debian/ sid main

Works just fine here but my install is 32bit. No issues, kernel just updated a couple of days ago.

$ uname -a
Linux craigevil 2.6.31-5.dmz.3-liquorix-686 #1 ZEN SMP PREEMPT Mon Nov 2 05:27:44 UTC 2009 i686 GNU/Linux
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: Alternative Performance Kernel for Debian

#76 Post by nadir »

craigevil wrote:# Liquorix sources added by smxi
deb http://liquorix.net/debian/ sid main

Works just fine here but my install is 32bit. No issues, kernel just updated a couple of days ago.
thanks for posting. i tried again and this time without problems. Might have been a temporary issue.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

damentz
Posts: 43
Joined: 2009-09-14 03:01

Re: Alternative Performance Kernel for Debian

#77 Post by damentz »

Sorry guys, the 2.6.32 kernel was a fluke! You can get it from the future repo: deb http://liquorix.net/debian sid main future

I accidentally threw it into the main one without knowing. This happened around the same time that the hash sum mismatch occurred as I was trying to restore my repository.

Everything is fixed now though, if you want to stay on 2.6.32, add the future repo to continue updating it! Otherwise you can remove the 2.6.32 packages and update to the latest 2.6.31 ones (2.6.31-5.dmz.4 as of this post).

PS: I'm very surprised that fglrx works. Preemptable RCU is known to cause problems with this driver module, but I'm using Preemptable Tree RCU now-a-days going forward with 2.6.32. It's supposed to be simpler and less buggy than the original Preemptable RCU implementation and so far I've had zero problems with it.

User avatar
alpha-dog
Posts: 49
Joined: 2009-09-24 17:10

Re: Alternative Performance Kernel for Debian

#78 Post by alpha-dog »

PS: I'm very surprised that fglrx works. Preemptable RCU is known to cause problems with this driver module, but I'm using Preemptable Tree RCU now-a-days going forward with 2.6.32. It's supposed to be simpler and less buggy than the original Preemptable RCU implementation and so far I've had zero problems with it.
I used the sgfxi script -> this command

Code: Select all

sgfxi -f -! 1

damentz
Posts: 43
Joined: 2009-09-14 03:01

Re: Alternative Performance Kernel for Debian

#79 Post by damentz »

Excellent, well I'm thrilled that fglrx can now use some sort of preemptable RCU, everyone wins here :D

User avatar
alpha-dog
Posts: 49
Joined: 2009-09-24 17:10

Re: Alternative Performance Kernel for Debian

#80 Post by alpha-dog »

damentz wrote:Excellent, well I'm thrilled that fglrx can now use some sort of preemptable RCU, everyone wins here :D
I've been useing 2.6.32-rc8 liquorix kernel and it works good, but it will freeze for up to a minute occasionally. I have read that the fglrx drivers will cause that, but I like the 3d and have kept it installed. I've also seen that the 2.6.32 kernel may not need the fglrx drivers for 3d. Will 3d work on the r6xx chipset ( radeon 3870 ) with open-source drivers with your 2.6.32-rc8 liquorix kernel. I also have a problem with shutdown, it will get to KILL ALL and hang.

Post Reply