Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 May 2013, 11:23
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Kernel timing question...
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 23 Dec 2010, 14:26    Post subject:  

I think most of the kernels are tickless these days.
Back to top
View user's profile Send private message Visit poster's website 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1966
Location: Maine, USA

PostPosted: 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
View user's profile Send private message Visit poster's website 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
NeverThere


Joined: 24 Nov 2010
Posts: 18

PostPosted: 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... Smile

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
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0609s ][ Queries: 12 (0.0088s) ][ GZIP on ]