| Author |
Message |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Thu 23 Dec 2010, 12:23 Post_subject:
Kernel timing question... |
|
Sorry if this sounds newbish.
Do all Puppies use the same kernel timer frequency? And if not, which speed is most commonly used?
1000Hz? 300Hz?
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 23 Dec 2010, 14:26 Post_subject:
|
|
I think most of the kernels are tickless these days.
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Thu 23 Dec 2010, 21:40 Post_subject:
|
|
Sorry for my lack of knowledge, but does that mean that Puppy would favor energy savings, and/or throughput, over responsiveness in heavier media apps?
Would setting a custom kernel to 1000 Hz produce better results for media players, or video game performance, at the cost of using more power?
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 24 Dec 2010, 05:26 Post_subject:
|
|
The information you ask is basic for hardware working of a PC and isn't really a puppy question.
You could google to know more about how hardware works.
In short, the higher the frequency of the CPU the more power it needs.
Therefor laptops can be set, mostly through the bios to meet a balance between battery live and workability.
You don't say which puppy you use, which is a must, but there are puppy's which have a program: frequency scaling. The frequency for the CPU is adapted to user-defined settings.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Fri 24 Dec 2010, 13:50 Post_subject:
|
|
I'm referring to the kernel timer, and that timer's frequency, not the CPU clock.
- How fast should HZ be?
- How To determine Linux Kernel Timer Interrupt Frequency
Surely some of the Puppy maintainers custom compile their kernels, right?
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Fri 24 Dec 2010, 16:02 Post_subject:
|
|
Puppeee1.0 on EEEPC1005HA
| Code: | 03:02:15: /initrd/mnt/dev_save/test > gcc frequency-test.c
03:13:56: /initrd/mnt/dev_save/test > ./a.out
kernel timer interrupt frequency is approx. 3937 Hz
03:14:00: /initrd/mnt/dev_save/test > uname -r
2.6.33.2atom
03:14:01: /initrd/mnt/dev_save/test >
|
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Tue 28 Dec 2010, 23:18 Post_subject:
|
|
Are there any Puppies with a pre-emptible kernel, with the hz set to 1000 during the compile?
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Wed 29 Dec 2010, 06:18 Post_subject:
|
|
Fluppy is compiled PREMPT, with NO_HZ. NO_HZ adjusts dynamically depending on the needs of the scheduler. I think Puppy Studio also has a preempt kernel.
You really shouldn't need to worry about latency with a tickless kernel.
http://forum.soft32.com/linux/tickless-HZ-1000-throughput-advantage-ftopict494863.html
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Wed 29 Dec 2010, 12:34 Post_subject:
|
|
Really?
I was told recently that when I compiled a Debian kernel that I should select PREMPT, and 1000hz. The tickless kernel thing was mentioned to be dependent on the hardware, with some older PCs actually running slightly faster without it. Minus the power saving efficiency of course...
They said 250/300 hz kernels were for server, or compiling, uses. 1000hz was mentioned to be better for multimedia performance like audio, video, games, xorg, or the desktop in general.
Would Fluppy run on older IBM PC desktops, or would the hardware drivers not be supported?
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Wed 29 Dec 2010, 13:12 Post_subject:
|
|
I know some people are successfully running it on older hardware. But all my test machines are less than 5 years old.
My understanding is the l0wt3ch did pretty thorough testing and Puppy Studio (with a similar kernel to Fluppy) far outperformed anything else in terms of latency - mainly just due to the lightness of the OS I suppose.
The only way to know for sure is to try it.
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Wed 29 Dec 2010, 15:45 Post_subject:
|
|
I don't know...
If I had a laptop, I might give Fluppy a shot, but it's too tailored to hardware I don't have. Same for Studio, I need a Puppy with a kernel that favors low-latency desktop environments, video, games, emulators, etc... not sound.
It says right on the first page that isn't what Studio is for.
Does anyone know how I could recompile the latest Lucid kernel, changing only those two options? ie - PREEMPT, 1000hz for the kernel
The out-dated Puppy 4.3.1 runs decent on this, but Lucid 5.1 is a bit slow.
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Sat 01 Jan 2011, 23:11 Post_subject:
|
|
Well, Fluppy fails at boot, and Studio (lite version) is monstrously slow.
Those are a no go for this old PC. Anyone know how to replace a kernel in of the pre-built puppy distros?
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 02 Jan 2011, 05:19 Post_subject:
|
|
I found that the new born Teh gray puppy 053, recent announced wary 5.0 run snappier on my PC then Lucid
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
NeverThere

Joined: 24 Nov 2010 Posts: 18
|
Posted: Mon 03 Jan 2011, 00:39 Post_subject:
|
|
Thanks for the recommendations. Wary runs the fastest out of the currently maintained Puppies I've tried. A bit light on available apps, but hey...
One thing I noticed about it though is that a couple, or more, of the media apps seem to have unresolvable dependencies. At least the default Mplayer works like a charm.
I suppose that if nobody has the time/ability to tell me how to recompile a kernel for puppy with the RT tweaks, I'm plain out of luck.
I guess I'll use Wary until I finish building my minimal Debian install into a more moderate one.
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Mon 03 Jan 2011, 07:55 Post_subject:
|
|
Sent a PM to Barry Kauler to ask.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
|