the Rainbow Networks
+++eXy FFA
Map: jaxdm8
Players: 2 / 24
The golden pot › RAINBOW NETWORKS › Tech & Support › Realtime Linux kernel
Realtime Linux kernel
Something wrong with our servers or your system?
Go to page 1, 2  Next
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexTech & Support
View previous topic :: View next topic  
Author Message
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Thu Sep 18, 2008 10:47 pm    Post subject: Realtime Linux kernel Reply with quote

I've already said to some linux players that I use a realtime kernel for gaming.

First of all :

Only (power) players should follow this tutorial ( if they want , ARE SURE OF WHAT THEY DO
AND OF COURSE HAVE ENOUGH EXPERIENCE IN KERNEL & EXTERNAL MODULES COMPILING)

DO NOT USE THESE INSTRUCTIONS FOR SETTING UP YOUR SERVER OR FOR SETTING UP A PRODUCTION MACHINE.

Now ...

Some distributions have already a linux kernel patched with Ingo Molnar realtime patch.

For example : OpenSuSE and Ubuntu

In Ubuntu just type in a terminal


Code::
sudo apt-get install linux-rt


Other distributions (eg. Debian ) lacks this kind of kernel.


--- Debian SID procedure ---

A developement environment is of course strictly required ( make , gcc , kbuild ... etc etc )

Main Reference : kernel-handbook.alioth...tasks.html (paragraph 4.4)

Open a root terminal and install the latest debian linux kernel sources

Code::

apt-get install linux-source

cd /usr/src && tar xjf linux-source-2.6.26.tar.bz2

cd linux-source-2.6.26



Obtain the latest rt kernel patch ( patch-2.6.26.5-rt9.bz2 )


Code::

wget http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.26.5-rt9.bz2

bzip2 -d patch-2.6.26.5-rt9.bz2



apply the rt patch :


Code::

patch -p1 < patch-2.6.26.5-rt9



Only patching the Makefile should fail ... no matter ... edit the Makefile
with your favourite editor (vim , nano, pico ... )
and add the -rt9 suffix to the EXTRAVERSION flag


Code::
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 26
EXTRAVERSION = -rt9     <---------
NAME = Rotary Wombat
...


now let's configure the custom kernel in the same root terminal type :


Code::

make menuconfig



It can be also used make gconfig (gtk based configuration utility )
or make xconfig (qt3 based configuration utility) instead.

The first thing to do is to configure kernel for the onboard specific CPU,
so just select the Processor type and features option :


Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Linux Kernel Configuration ───────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌─────────────────────────────────────────────────────────────────────┐ │  
  │ │        General setup  --->                                          │ │  
  │ │    [*] Enable loadable module support  --->                         │ │  
  │ │    [*] Enable the block layer  --->                                 │ │  
  │ │        Processor type and features  --->                            │ │  
  │ │        Power management options  --->                               │ │  
  │ │        Bus options (PCI etc.)  --->                                 │ │  
  │ │        Executable file formats / Emulations  --->                   │ │  
  │ │        Networking  --->                                             │ │  
  │ │        Device Drivers  --->                                         │ │  
  │ │        Firmware Drivers  --->                                       │ │  
  │ └────v(+)─────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  



Select the CPU type under Processor Family sub-option
( and disable the Generic x86 support option if CPU is of the x86 family)


Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Processor type and features ──────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌─────────────────────────────────────────────────────────────────────┐ │  
  │ │    [*] Tickless System (Dynamic Ticks)                              │ │  
  │ │    [*] High Resolution Timer Support                                │ │  
  │ │    [*] Symmetric multi-processing support                           │ │  
  │ │        Subarchitecture Type (PC-compatible)  --->                   │ │  
  │ │    [*] Single-depth WCHAN output                                    │ │  
  │ │    [ ] Paravirtualized guest support  --->                          │ │  
  │ │        Processor family (Pentium 4)  --->                           │ │  
  │ │    [ ] Generic x86 support                                          │ │  
  │ │    [*] HPET Timer Support                                           │ │  
  │ │    [*] Enable DMI scanning                                          │ │  
  │ └────v(+)─────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  



Return to the Processor Type and features menu
Find the Preeemption Mode option and select it


Code::
 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Processor type and features ──────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │  
  │ │    [ ] Paravirtualized guest support  --->                          │ │  
  │ │        Processor family (Pentium 4)  --->                           │ │  
  │ │    [ ] Generic x86 support                                          │ │  
  │ │    [*] HPET Timer Support                                           │ │  
  │ │    [*] Enable DMI scanning                                          │ │  
  │ │    (2) Maximum number of CPUs (2-255)                               │ │  
  │ │    [*] SMT (Hyperthreading) scheduler support                       │ │  
  │ │    [*] Multi-core scheduler support                                 │ │  
  │ │        Preemption Mode (Complete Preemption (Real-Time))  --->      │ │  
  │ │    -*- Thread Softirqs                                              │ │  
  │ └────v(+)─────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  



Choose the Complete Preemption option


Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────


     ┌───────────────────────── Preemption Mode ──────────────────────────┐
     │  Use the arrow keys to navigate this window or press the hotkey of │  
     │  the item you wish to select followed by the <SPACE BAR>. Press    │  
     │  <?> for additional information about this option.                 │  
     │ ┌────────────────────────────────────────────────────────────────┐ │  
     │ │          ( ) No Forced Preemption (Server)                     │ │  
     │ │          ( ) Voluntary Kernel Preemption (Desktop)             │ │  
     │ │          ( ) Preemptible Kernel (Low-Latency Desktop)          │ │  
     │ │          (X) Complete Preemption (Real-Time)                   │ │  
     │ │                                                                │ │  
     │ │                                                                │ │  
     │ └────────────────────────────────────────────────────────────────┘ │  
     ├────────────────────────────────────────────────────────────────────┤  
     │                       <Select>      < Help >                       │  
     └────────────────────────────────────────────────────────────────────┘  
                                                                             


Find the Timer Frequency option


Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Processor type and features ──────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │  
  │ │    [*] EFI runtime service support                                  │ │  
  │ │    [ ] Enable kernel irq balancing                                  │ │  
  │ │    [*] Enable seccomp to safely compute untrusted bytecode          │ │  
  │ │        Timer frequency (1000 HZ)  --->                              │ │  
  │ │    [*] kexec system call                                            │ │  
  │ │    [*] kernel crash dumps (EXPERIMENTAL)                            │ │  
  │ │    (0x100000) Physical address where the kernel is loaded           │ │  
  │ │    [*] Build a relocatable kernel (EXPERIMENTAL)                    │ │  
  │ │    (0x100000) Alignment value to which kernel should be aligned     │ │  
  │ │    -*- Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENT│ │  
  │ └────v(+)─────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  
    



Choose 1000Hz option


Code::
 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────


     ┌───────────────────────── Timer frequency ──────────────────────────┐
     │  Use the arrow keys to navigate this window or press the hotkey of │  
     │  the item you wish to select followed by the <SPACE BAR>. Press    │  
     │  <?> for additional information about this option.                 │  
     │ ┌────────────────────────────────────────────────────────────────┐ │  
     │ │                          ( ) 100 HZ                            │ │  
     │ │                          ( ) 250 HZ                            │ │  
     │ │                          ( ) 300 HZ                            │ │  
     │ │                          (X) 1000 HZ                           │ │  
     │ │                                                                │ │  
     │ │                                                                │ │  
     │ └────────────────────────────────────────────────────────────────┘ │  
     ├────────────────────────────────────────────────────────────────────┤  
     │                       <Select>      < Help >                       │  
     └────────────────────────────────────────────────────────────────────┘  
                                                                             



Exit the processor type and features option.

For better performances , it could be useful selecting 4Kb kernel stacks instead
of default 8Kb ( it reduces memory fragmentation on x86 family CPUs)

DO NOT MODIFY THIS OPTION IF YOU NEED NDISWRAPPER.



Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Linux Kernel Configuration ───────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │  
  │ │        Bus options (PCI etc.)  --->                                 │ │  
  │ │        Executable file formats / Emulations  --->                   │ │  
  │ │        Networking  --->                                             │ │  
  │ │        Device Drivers  --->                                         │ │  
  │ │        Firmware Drivers  --->                                       │ │  
  │ │        File systems  --->                                           │ │  
  │ │        Kernel hacking  --->                                         │ │  
  │ │        Security options  --->                                       │ │  
  │ │    -*- Cryptographic API  --->                                      │ │  
  │ │    [*] Virtualization  --->                                         │ │  
  │ └────v(+)─────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  





Code::

 .config - Linux Kernel v2.6.26.5-rt9 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌──────────────────────────── Kernel hacking ─────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │  
  │ │    [ ] Debug page memory allocations (NEW)                          │ │  
  │ │    [ ] Export kernel pagetable layout to userspace via debugfs (NEW)│ │  
  │ │    [*] Write protect kernel read-only data structures               │ │  
  │ │    [ ] Testcase for the DEBUG_RODATA feature (NEW)                  │ │  
  │ │    < > Testcase for the NX non-executable stack feature (NEW)       │ │  
  │ │    [*] Use 4Kb for kernel stacks instead of 8Kb                     │ │  
  │ │    [*] Enable doublefault exception handler                         │ │  
  │ │        IO delay type (port 0xed based port-IO delay)  --->          │ │  
  │ │    [ ] Debug boot parameters (NEW)                                  │ │  
  │ │    [ ] CPA self-test code (NEW)                                     │ │  
  │ └─────────────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  


Save the config.

Now create a deb package that will contain new kernel ( debian way ) :

Code::

make-kpkg clean && make-kpkg --append_to_version -custom-1.0 --initrd kernel_image


This step should require some time ( ~ 1 hr or more for me )
When it will finish , just install your custom kernel :

Code::

dpkg -i ../<custom-kernel-name>.deb



If u need to install the NVIDIA module on the new realtime kernel ,
get the official NVIDIA installer and the patch provided here ;

Create a custom installer :


Code::

sh NVIDIA-Linux-<arch>-<version_number>-pkg1.run --apply-patch NVIDIA_kernel-173.14.09-2512683.diff.txt



Run the new installer :


Code::

sh NVIDIA-Linux-<arch>-<version number>-pkg1-custom.run -K -k <custom_kernel_version> 



This will build only the kernel module for the single kernel version specified by <custom_kernel_version>

The patch is for the latest NVIDIA driver ,
but it works also for the latest NVIDIA legacy driver.

Reboot and boot into the new kernel : if u use other external modules
do not forget to rebuild and install them through the module-assistant utility.

EDIT : other resources

- Hyper Low-Latency Audio with a Real-Time Kernel (YouTube Video)
- Real-Time Linux Wiki
- Ubuntu Kernel Compile GuideLines
- Version 1.3.0 of set_rlimits
Back to top
View user's profile
GrosBedo
Happy Camper
Happy Camper


Joined: Oct 06, 2007
Posts: 51
Location: Uh ? o_O

PostPosted: Sat Sep 20, 2008 10:06 pm    Post subject: Re: Realtime Linux kernel Reply with quote

Really nice tutorial Falkland, I shall try this when I'll have some time :)

But is this really of any use for gaming ? What are the benefits ?

_________________
0
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Mon Sep 22, 2008 4:12 pm    Post subject: Re: Realtime Linux kernel Reply with quote

GrosBedo wrote:
Really nice tutorial Falkland, I shall try this when I'll have some time :)

But is this really of any use for gaming ? What are the benefits ?

Well .. with a realtime kernel , my game experience is simply better than before ... also on not so powerful machines. Using realtime kernel is translated with a much linear game execution , with a reduced impact of the classic "down-peak" when a cronjob ( or other bg process ) starts and of the up-pick when it finishes its job, even if I dont' run the game at a RT priority.

But I cannot support this statement with benchmarks or any other kind of objective data ... so just try it ;)

I know only a player named Pinko that uses ( or at least used , never asked him again ) a realtime kernel giving to me the same positive feedback.


Last edited by Falkland on Mon Sep 22, 2008 9:10 pm; edited 1 time in total
Back to top
View user's profile
jackthompson
Admin
Admin


Joined: Aug 15, 2007
Posts: 1302
Location: Here

PostPosted: Mon Sep 22, 2008 4:20 pm    Post subject: Re: Realtime Linux kernel Reply with quote

:O

i'll try this too... i compile my own kernels since always... so i should try this...
Back to top
View user's profile
kernel_panic
Übergod
Übergod


Joined: Aug 28, 2007
Posts: 751
Location: uk

PostPosted: Fri Sep 26, 2008 7:31 pm    Post subject: Re: Realtime Linux kernel Reply with quote

I am sceptical. All the references I found about real time kernels were geared towards very especialized applications. Also, according to the evil and missleading wikipedia:

Quote::
An RTOS does not necessarily have high throughput; rather, an RTOS provides facilities which, if used properly, guarantee deadlines can be met generally (soft real-time) or deterministically (hard real-time).[...] An RTOS is valued more for how quickly and/or predictably it can respond to a particular event than for the given amount of work it can perform over time.

On the other hand, the windows kernel is not real time, and everybody knows that you'll get better gaming performance on Windows than on Linux (*). The reason is that the bottleneck is nowhere in the kernel but in the graphics driver. Unless computers work differently than everything else out there, the system will only be as fast as the slowest component in the chain, which clearly is the graphics engine.

Also, I would've thought that with the new scheduler (since 2.6.22--23?) things are much more smooth than before when several tasks are running. At least I think stuff improved for me in this respect.

(*) Although I remember some benchmarks that showed Quake Wars performing better on Linux under Fglrx than on Windows under Catalyst for the newest AMD cards.

_________________
"Fuelling off topic babble since day 1."
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Fri Sep 26, 2008 10:54 pm    Post subject: Re: Realtime Linux kernel Reply with quote

kernel_panic wrote:
I am sceptical.

Why dont' u try it ? :D

This RT kernel has a larger range of kernel priorities , has a bit different scheduler ( always based on CFS introduced in the 2.6.22 series ) and a bit different kernel structure.

Of course you cannot obtain more than your hardware is capable of ...
Back to top
View user's profile
kernel_panic
Übergod
Übergod


Joined: Aug 28, 2007
Posts: 751
Location: uk

PostPosted: Sat Sep 27, 2008 10:47 pm    Post subject: Re: Realtime Linux kernel Reply with quote

Quote::
Quote::
kernel_panic wrote:
I am sceptical.

Why dont' u try it ? :D

The sad thing is that the geek who lives inside my heart will most probably force me to try it :(

Still, I see that you configure the timer frequency. With the tickless kernel this is now meaningless; do you think RT kernels are as good as regular ones when it comes to power behaviour? I'm on a laptop, and after almost 3 years frying eggs on it it's finally become quiet and cool as a freezer, I wouldn't like to sacrifize that...If you have a CPU that does frequency scaling, can you tell me what you get with Powertop? ;)

_________________
"Fuelling off topic babble since day 1."
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Sun Sep 28, 2008 2:27 am    Post subject: Re: Realtime Linux kernel Reply with quote

kernel_panic wrote:

...
I'm on a laptop, and after almost 3 years frying eggs on it it's finally become quiet and cool as a freezer, I wouldn't like to sacrifize that...If you have a CPU that does frequency scaling, can you tell me what you get with Powertop? ;)

- Laptop Pentium M 1400 MHz
- Ubuntu 8.04
- Kernel 2.6.24.3-web100-rt-rev11 #1 SMP PREEMPT RT Sat Sep 20 17:29:44 CEST 2008 i686 GNU/Linux ( of course recompild by mysef :D )

Code::
     PowerTOP version 1.9       (C) 2007 Intel Corporation

Cn                Avg residency       P-states (frequencies)
C0 (cpu occupata)      (27,1%)          1400 Mhz    18,6%
C1                0,0ms ( 0,0%)         1000 Mhz     0,0%
C2                3,1ms (72,9%)          800 Mhz     0,5%
C3                0,0ms ( 0,0%)          600 Mhz    81,0%
C4                0,0ms ( 0,0%)

Wakeups-from-idle per second : 237,1    interval: 10,0s
no ACPI power usage estimate available

Top causes for wakeups:
  32,3% ( 82,8)       firefox-bin : futex_wait (hrtimer_wakeup) 
  18,4% ( 47,2)   /sys/bus/usb/devices/4-1.1 
  12,4% ( 31,9)       <interrupt> : uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3,
   9,8% ( 25,2)       <interrupt> : acpi 
   5,5% ( 14,2)           gkrellm : schedule_timeout (process_timeout) 
   5,3% ( 13,5)     mixer_applet2 : schedule_timeout (process_timeout) 
   5,1% ( 13,1)       <interrupt> : libata 
   2,6% (  6,7)            IRQ-10 : ehci_work (ehci_watchdog)
   2,0% (  5,2)              Xorg : do_setitimer (it_real_fn)
   1,1% (  2,8)   gnome-screensav : schedule_timeout (process_timeout)
   0,7% (  1,8)    gnome-terminal : schedule_timeout (process_timeout)
   0,6% (  1,6)       gnome-panel : schedule_timeout (process_timeout)
   0,4% (  1,1)   <modulo del kernel> : neigh_table_init_no_netlink (neigh_perio
   0,4% (  1,1)         nm-applet : schedule_timeout (process_timeout)
   0,4% (  1,0)    cpufreq-applet : schedule_timeout (process_timeout)
   0,4% (  1,0)            dhcdbd : schedule_timeout (process_timeout)
   0,4% (  1,0)   softirq-tasklet : ipw2100_irq_tasklet (delayed_work_timer_fn)
   0,3% (  0,8)    NetworkManager : schedule_timeout (process_timeout)
   0,3% (  0,7)        pulseaudio : schedule_timeout (process_timeout)
   0,2% (  0,5)     <kernel core> : queue_delayed_work_on (delayed_work_timer_fn
   0,2% (  0,5)   hald-addon-stor : schedule_timeout (process_timeout)
   0,1% (  0,3)      krcupreemptd : schedule_timeout (process_timeout)
   0,1% (  0,3)   <modulo del kernel> : <e0ae6277> (irlmp_discovery_timer_expire
   0,1% (  0,3)          nautilus : schedule_timeout (process_timeout)

Suggestion: Disable 'hal' from polling your cdrom with:
hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a

 Q - Quit   R - Refresh   K - kill hald-addon-storage 

The other 2 suggestions that were shown :
- to enable ac97 powersave (done)
- to increase the /proc/sys/vm/dirty_writeback_centisecs to 1500 ( done trhough /etc/sysctl.conf , but I have to increase also the /proc/sys/vm/dirty_expire_centisecs key. The expire time should be always higher than the write back time )

Code::
vm.dirty_writeback_centisecs=1500
vm.dirty_expire_centisecs=3000

But the laptop is connected to AC power network atm, wi-fi disabled , connected to internet trough the ethernet port.

EDIT :

and this

Code::
  18,4% ( 47,2)   /sys/bus/usb/devices/4-1.1 
  12,4% ( 31,9)       <interrupt> : uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3,

should be caused by the USB mouse :D
Back to top
View user's profile
kernel_panic
Übergod
Übergod


Joined: Aug 28, 2007
Posts: 751
Location: uk

PostPosted: Sun Sep 28, 2008 11:35 am    Post subject: Re: Realtime Linux kernel Reply with quote

Cool, so it doesn't seem to affect negatively. Oh, well, I guess I'll give it a shot for my next kernel (2.6.28-29 or so, who knows).

By the way, what I said about the timer frequency is utter crap. It's some other setting what doesn't take effect with tickless kernels, but I don't remember which one...perhaps the preemption thing, but that's obviously required for this case.

OT. I think it's your USB mouse keeping your CPU in C2. The same happened to me until some months ago. For some reason, since 2.6.24 (I think) I can have the mouse connected and the CPU still goes to C3. You may want to check that out...Ah! You have a ICH4 or newer chipset, right? Have you enabled hpet=force in Grub?

_________________
"Fuelling off topic babble since day 1."
Back to top
View user's profile
chiquita
Alpacas Approved
Alpacas Approved


Joined: Sep 01, 2007
Posts: 1410
Location: psychiatric ward

PostPosted: Sun Sep 28, 2008 12:01 pm    Post subject: Re: Realtime Linux kernel Reply with quote

If it improves game play I would consider this a cheat :/
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Sun Sep 28, 2008 4:20 pm    Post subject: Re: Realtime Linux kernel Reply with quote

kernel_panic wrote:
Cool, so it doesn't seem to affect negatively. Oh, well, I guess I'll give it a shot for my next kernel (2.6.28-29 or so, who knows).

mmm ... 2.6.27 before rc7 has a severe bug that corrupts the firmware of the Intel e1000 netcard on laptops. (In some cases hardware substitution seems to be the only way to have it back)

kernel_panic wrote:

OT. I think it's your USB mouse keeping your CPU in C2. The same happened to me until some months ago. For some reason, since 2.6.24 (I think) I can have the mouse connected and the CPU still goes to C3. You may want to check that out...

I'll check it ... maybe a problem with the USB suspend function :/

kernel_panic wrote:

Ah! You have a ICH4 or newer chipset, right? Have you enabled hpet=force in Grub?

No ... done just now .

Did u check if the LAPIC (Local Advanced Programmable Interrupt Controller) is enabled or disabled by the BIOS ?

Just give :

Code::
dmesg | grep lapic

If disabled u can enable it adding "lapic" to the kernel command line in Grub.
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Sun Sep 28, 2008 4:25 pm    Post subject: Re: Realtime Linux kernel Reply with quote

chiquita wrote:
If it improves game play I would consider this a cheat :/

Oh yes chiq ... this kernel gives triple fps speedup , extraskill and aimbot funcionality :D
Back to top
View user's profile
kernel_panic
Übergod
Übergod


Joined: Aug 28, 2007
Posts: 751
Location: uk

PostPosted: Mon Sep 29, 2008 10:06 am    Post subject: Re: Realtime Linux kernel Reply with quote

Quote::
Quote::
Ah! You have a ICH4 or newer chipset, right? Have you enabled hpet=force in Grub?
Did u check if the LAPIC (Local Advanced Programmable Interrupt Controller) is enabled or disabled by the BIOS ?

What's wrong with us, dude? We sound like two youngsters sharing drug experiences or something...

But no, I haven't tried that new one. I don't have a clue about what it is, though. From wikipedia it seems something related to multiprocessors...got a link?

_________________
"Fuelling off topic babble since day 1."
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Mon Sep 29, 2008 3:06 pm    Post subject: Re: Realtime Linux kernel Reply with quote

kernel_panic wrote:


What's wrong with us, dude? We sound like two youngsters sharing drug experiences or something...


:D

kernel_panic wrote:

But no, I haven't tried that new one. I don't have a clue about what it is, though. From wikipedia it seems something related to multiprocessors...got a link?

It deals with multiprocessor structure and functionality .. but I guessed that it was safe enabling it on uniprocessor ( that have it ) too ... unitl I've read , while searching for info about it , that it could be harmful in some cases ... so forget what I've wrote :)
Back to top
View user's profile
Falkland
Übergod
Übergod


Joined: Aug 01, 2008
Posts: 922
Location: Nowhere

PostPosted: Mon Sep 29, 2008 3:33 pm    Post subject: Re: Realtime Linux kernel Reply with quote

kernel_panic wrote:

By the way, what I said about the timer frequency is utter crap. It's some other setting what doesn't take effect with tickless kernels, but I don't remember which one.

Quote::

...
With "tickless idle", the Linux kernel has eliminated this periodic timer tick when the CPU is idle. This allows the CPU to remain in power saving states for a longer period of time, reducing the overall system power consumption.
...

Source : LessWatts.org Tickless Section
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Tech & Support All times are GMT + 1 Hour
Go to page 1, 2  Next
Page 1 of 2


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


Welcome Anonymous


Membership:
Latest: kontol
New Today: 0
New Yesterday: 0
Overall: 355

People Online:
Members: 0
Visitors: 50
Total: 50
Who Is Where:
 Visitors:
01: The golden pot
02: The golden pot
03: My Account
04: The golden pot
05: The golden pot
06: The golden pot
07: The golden pot
08: The golden pot
09: The golden pot
10: My Account
11: Maps
12: The golden pot
13: The golden pot
14: Home
15: The golden pot
16: The golden pot
17: The golden pot
18: The golden pot
19: My Account
20: The golden pot
21: The golden pot
22: The golden pot
23: The golden pot
24: The golden pot
25: The golden pot
26: The golden pot
27: The golden pot
28: My Account
29: Maps
30: The golden pot
31: The golden pot
32: The golden pot
33: The golden pot
34: Home
35: Shoutblock
36: The golden pot
37: The golden pot
38: My Account
39: The golden pot
40: The golden pot
41: The golden pot
42: My Account
43: The golden pot
44: The golden pot
45: The golden pot
46: The golden pot
47: The golden pot
48: My Account
49: The golden pot
50: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on furver.se.

The Rainbow Networks
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Azul theme and related images designed by Jamin