Linux kernel 2.4.xx vs 2.6.xx
Linux kernel 2.4.xx vs 2.6.xx
I have recently discovered that Zone Minder works significally faster on a 2.6.xx kernel then on a 2.4.xx one. Since some distros still use 2.4 kernel as a base I would recommend upgrading to kernel 2.6.xx
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I've noticed it by accident, when building my Slackware based system. By default it comes with a 2.4 kernel, and I configured and started ZoneMinder with that default one. Although the PC was an old PIII-733 256 RAM machine it worked OK. Then I started some patching/updating and other cosmetic things and decided to switch to 2.6 kernel. For testing purposes it was compiled with the same configuration options as the 2.4 kernel was. And now when I boot to 2.6 ZoneMinder gives more FPS and analisys process performs better, which is very well seen on such a slow platform. Booting back to 2.4 brings worse results.
Don't have any benchmarks, but if someone needs some - suggest the testing model, I will do it.
I think it has several reasons, related to the new 2.6 architecture: better memory management, better caching and, probably, better bttv driver interface.
Don't have any benchmarks, but if someone needs some - suggest the testing model, I will do it.
I think it has several reasons, related to the new 2.6 architecture: better memory management, better caching and, probably, better bttv driver interface.
-
- Posts: 12
- Joined: Sat Aug 20, 2005 11:18 pm
hi
hello
I also use slackware , i think there is good support of usb devices in 2.6 kernel and
may be good support for video also.
So i also prefer 2.6 kernel.
Regards,
M Asad Rasheed
I also use slackware , i think there is good support of usb devices in 2.6 kernel and
may be good support for video also.
So i also prefer 2.6 kernel.
Regards,
M Asad Rasheed
- tech_fixer
- Posts: 132
- Joined: Tue Jul 29, 2003 3:07 pm
Hi,
To answer Phil's question from waaaay back on Aug. 1 2005...
Also improvements in CPU handling and a complete overhaul of the hard-disk managing code, make the new kernel breathe new life and squeeze more performance out of older hardware.
It makes a HUGE difference on my laptop, where I used to run RH9 and now I run FC4. Its impressive how it runs faster with a newer version of the OS. That's something you cannot say from Windows.
Regards,
Jose.
To answer Phil's question from waaaay back on Aug. 1 2005...
The new kernel series 2.6.X have a much improved memory management mechanism. As ZoneMinder is a memory-intensive application, all monitor buffers are in memory for real-time capture/analysis, then you can see how ZM benefits greatly from this.I wonder what it is that is quicker?
Also improvements in CPU handling and a complete overhaul of the hard-disk managing code, make the new kernel breathe new life and squeeze more performance out of older hardware.
It makes a HUGE difference on my laptop, where I used to run RH9 and now I run FC4. Its impressive how it runs faster with a newer version of the OS. That's something you cannot say from Windows.
Regards,
Jose.