Go Back   Hardware Forums > Tech Support Forum > Linux and Other OSes

Reply
 
LinkBack Thread Tools Search this Thread
Old 26-01-2008, 02:26 AM   # 1 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

Arrow The Official HWF Kernel Repo

HardwareForums.com Custom Kernels

Hardwareforums.com is now hosting architecturally-optimized Linux kernels! Currently I'm packaging custom kernels for Debian “Lenny”, which should also work with many Debian-derivative distributions of Linux. These kernels are based off of the latest stable source from kernel.org, and will be updated as frequently as my schedule allows. There are some advantages to running a custom Linux kernel, but also some disadvantages which should be taken into account.

Advantages:
  • Optimized for extremely low-latency desktop usage.
  • Will behave responsively even under excessively heavy resource loads.
  • Perfect for gaming (e.g. Enemy Territory: Quake Wars) and multimedia work (audio, video, etc).
  • Built with CPU-specific optimizations to make the most of modern hardware.
  • Supports multi-CPU architectures and up to 64gb RAM on modern architectures.
  • More current kernels support more hardware and provide bugfixes which may not be present in distro-maintained kernels.
  • The depreciated OSS (Open Sound System) is entirely removed in favor of ALSA (Advanced Linux Sound Architecture) and its reverse-compatibility with OSS.

Disadvantages:

Pre-packaged binaries of proprietary video drivers, etc which are built against the vendor-provided kernel will not work; they will need to be built and installed manually.
  • Receiving support from official distributor-specific channels may be hindered by using an unsupported kernel.
  • The vanilla kernel source from kernel.org is newer and therefore not as well-tested as the distro-provided kernel.
  • Only 32-bit builds are provided (with 64-bit optimizations where applicable), since this currently makes the most sense for desktops.
  • This kernel enjoys no official support, nor even the suggestion of any warranty whatsoever. They are to be used strictly at one's own risk, and are supported only on a friendly capacity here at hardwareforums.com

Downloads:

⇒ Should you decide our custom kernels are for you, they can be found here: HWF Custom Kernel Wiki
If you have any questions, problems or suggestions please feel free to post them here.

Best regards,
-AT

Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
The Following 4 Users Say Thank You to Anti-Trend For This Useful Post: Show me >>
Whats this? Sponsored Listing
Old 25-01-2008, 10:14 PM   # 2 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

About The Kernel Configuration

The kernel configurations for Debian Lenny on Debian's latest official kernel configurations, with some key modifications by myself. These changes center around architecture-specific optimizations, and pruning out some stuff that doesn't apply in that context. For example, Intel-specific options don't make sense for an AMD Athlon kernel and vise-versa. The timing settings were also changed from the default 250Hz to 1000Hz, and the schedulers set to be aggressively desktop-friendly. This will incur a very slight amount of overhead in the raw amount of potential CPU horsepower, but the payoff is a huge boost in responsiveness when multitasking or placing the system under a heavy CPU workload. This is especially noticeable in games, multimedia, and heavy multitasking environments, so I feel it's well justified for a non-server environment. So fundamentally, the largest differences between the official configs and my own are the CPU-specific optimizations and the scheduler settings. Each respective kernel was also compiled with the highest known-safe CPU optimizations relative to each architecture.


About The Various CPU Architectures
  • atom -- Best for the Intel ATOM CPU family.
  • centrino -- Built specifically for the "Pentium M" processor, which is essentially a modernized P3. Use this if you have a Pentium M, Centrino, or Celeron-M that's based on a pre-P4 architecture.
  • core2 -- Newer Intel multi-core CPUs, including quad-cores, i7's and recent Xeons.
  • k7 -- Any AMD Athlon, Duron, or 32-bit Sempron CPUs.
  • k8 -- AMD64, 64FX, 64-bit-capable Sempron, Turion or Opteron CPUs.
  • p3 -- Optimized for Katmai, Coppermine, Coppermine-T and Tualatin Pentium 3 processors.
  • p4 -- Any Pentium 4 or P4-based Celeron CPUs. Optimizations for newer P4s such as the Prescott are also included, but not required for this kernel to work on your system.
  • phenom -- Later AMD K10-based CPUs, such as Deneb, Heka, Agena, and Toliman.
  • prescott -- Built specifically for Prescott or later Pentium4 CPU's before the Core2, such as the Pentium-D.
  • x2 – Early multi-core AMD processors such as Manchester, Toledo, Windsor, Brisbane, and Kuma.
Compiling Other Things With CPU Optimizations

Now that you've got a shiny new kernel that's been built to take advantage of your CPU's advanced features, you may as well build anything else you build from day to day (video drivers, games, whatever) using those same optimizations. This will give a noticeable boost in speed and responsiveness in some packages, and at worst doesn't hurt performance in others. In 32-bit x86 builds of Debian (or derivatives such as Sidux), you can accomplish this by adding the following lines to your /etc/environment file:
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
Note that on Pentium1-class CPUs (including the AMD K6 family), you will need to use "i586-pc-linux-gnu" for your CHOST value. Also note that with GCC version 4.1 or higher, using the "-march=native" option will cause GCC to detect your CPU's capabilities at runtime and automatically choose the best optimizations available. If you're using an earlier distro than Lenny, make sure you have GCC 4.1 or newer before using the native flag. Otherwise, you will have to specify your CFLAGS and CXXFLAGS manually based on your CPU hardware. If you have an earlier version of GCC and want to build with optimizations, check out Gentoo's list of safe CFLAGS: Safe Cflags - Gentoo Linux Wiki
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 26-01-2008, 12:36 PM   # 3 (permalink) Top
HWF Godfather
 
Big B's Avatar
 
Join Date: Dec 2001
Age: 29 Male
Posts: 9,721
Times Helpful: 594
My Mood: Devilish
Status: Offline

My Computer

Nice move.
Send a message via AIM to Big B Send a message via Yahoo to Big B   Reply With Quote
Old 26-01-2008, 02:58 PM   # 4 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 19 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Ok, so, would you recommend that I use this as a secondary operating system to my current Mint installation. As you know I'm new to Linux and am definitely not prepared for building and installing drivers and the like. Would this hinder my ability to install things such as Java support, Flash support, etc?
__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Old 26-01-2008, 04:09 PM   # 5 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

Quote:
Originally Posted by max12590 View Post
Ok, so, would you recommend that I use this as a secondary operating system to my current Mint installation.
It's always best to simply not remove the old kernel until you're sure you've got everything working as expected with the new one. If you need to reboot to the old, it'll still be listed in your bootloader until it's manually removed by you.
Quote:
Originally Posted by max12590 View Post
As you know I'm new to Linux and am definitely not prepared for building and installing drivers and the like. Would this hinder my ability to install things such as Java support, Flash support, etc?
Java, Flash, etc. are standalone binaries, not kernel modules (e.g. drivers), and so are not affected by changing the kernel. Things like Madwifi, ATI, Nvidia, etc. are built against specific kernel headers, so you'd have to install them manually using the official way rather than the *ubuntu/Mint way. If you're going to be building kernel modules such as those, make sure you have also installed the kernel header package that corresponds with your kernel image.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 28-01-2008, 06:33 AM   # 6 (permalink) Top
in doubt, give it a clout
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 36 Male
Posts: 6,353
Times Helpful: 338
My Mood: Paranoid
Status: Offline

My Computer

as a Feisty user i installed a new Gutsy DL to another HDD (obviously keeping my existing Feisty install alone) and Gutsy booted about twice as fast as before with the default / generic kernel, after i selected AT kernel at the boot menu, thankies AT, i owe you a he11 of a lot
Off Topic:

please ask your wife to give you a lot more than a big kiss, i'll leave it to her what she actually does
BTW: BIG thanks for the kernel

Last edited by donkey42; 28-01-2008 at 06:45 AM.. Reason: edit
  Reply With Quote
Old 28-01-2008, 09:56 PM   # 7 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 19 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Well, I currently have Vista installed to run DX10 games. Seeing as how neither Flight Simulator X or Lost Planet runs properly on Vista, I think I have a free 40 GB partition.
__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Old 28-01-2008, 10:12 PM   # 8 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

Quote:
Originally Posted by max12590 View Post
Well, I currently have Vista installed to run DX10 games. Seeing as how neither Flight Simulator X or Lost Planet runs properly on Vista, I think I have a free 40 GB partition.
Just to reiterate, this is a custom kernel, not a custom distro. You don't need 40gb, you just install it into your existing *ubuntu "Gutsy" or Debian "Lenny" operating system, respectively. ...Unless I'm totally misunderstanding and you're just talking about installing Lenny or Gutsy on your spare 40gb partition.

Quote:
Originally Posted by donkey42 View Post
BIG thanks for the kernel
No problem, just want to help everybody get the most out of Linux! You should thank Sniper for letting us host this repo here; he's the one who pays the bills.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 29-01-2008, 04:21 AM   # 9 (permalink) Top
in doubt, give it a clout
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 36 Male
Posts: 6,353
Times Helpful: 338
My Mood: Paranoid
Status: Offline

My Computer

Quote:
Originally Posted by AT
You should thank Sniper for letting us host this repo here
yeah, thankies Sniper

BTW: just noticed Gutsy is actually DLing @ 60kbp/s instead of my usual speed of 50kbp/s
  Reply With Quote
Old 29-01-2008, 05:32 AM   # 10 (permalink) Top
May the source be with u!


 
Impotence's Avatar
 
Join Date: Dec 2004
Age: 20 Male
Posts: 1,904
Times Helpful: 128
My Mood: Stressed
Status: Offline

My Computer

Thanks AT (and sniper for the bandwidth).
__________________
Dear intel,Already Made My Decision
Never trust a computer you can't repair yourself.
Windows Vista - Viruses Intruders Spyware Trojans Adware
Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide
scientology has been getting alot of attention recently

When the rich wage war, it is the poor who die.
Where are the WMD's that our governments used to justify the war?

Last edited by Impotence; 29-01-2008 at 05:34 AM..
  Reply With Quote
Old 29-01-2008, 06:24 AM   # 11 (permalink) Top
iMod

 
Matt555's Avatar
 
Join Date: May 2005
Age: 22 Male
Posts: 3,844
Times Helpful: 238
My Mood: Happy
Status: Offline

My Computer

Good move dude, when I get more time to catch-up with my PC-based life I'm going to be looking into these - you the man!
__________________
  Reply With Quote
Old 29-01-2008, 01:55 PM   # 12 (permalink) Top
May the source be with u!


 
Impotence's Avatar
 
Join Date: Dec 2004
Age: 20 Male
Posts: 1,904
Times Helpful: 128
My Mood: Stressed
Status: Offline

My Computer

Don't take this the wrong way, i'm trying to look out for your best interests here!

The GPL does not seem to be very clear on this point... section 3 suggests that you will have to host the source code used to build the binaries or include a "written offer" (with the binaries, so in the same directory?) to provide the source if requested.

If you don't follow the license to the letter then it is void, and you no longer have a license to use the source code / derived works. Which could really ruin your day if your not to the letter... so i would suggest going further than your obligations to be on the safe side (host the source, linking directly to it might be enough... IANAL!).
__________________
Dear intel,Already Made My Decision
Never trust a computer you can't repair yourself.
Windows Vista - Viruses Intruders Spyware Trojans Adware
Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide
scientology has been getting alot of attention recently

When the rich wage war, it is the poor who die.
Where are the WMD's that our governments used to justify the war?
  Reply With Quote
Old 29-01-2008, 02:54 PM   # 13 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

The source code isn't modified from that at kernel.org whatsoever. For this reason, it's best that those interested in the raw source pick it up there rather than here. It's arguably a more trustworthy source for the kernel sources then our little site for those who don't trust binary distribution. Even so, the raw kernel source is actually up there. I've moved it to a more convenient location so it's right in your face if you're looking for it.

BTW, since we're on the topic of kernel sources, I've chosen to skip 2.6.24. If you skim kernel trap and other such sites, you'll see a myriad of reports of problems compiling proprietary drivers against it. I had similar experiences myself. Many of the kernel developers have been travelling to a conference or something similar, so it may not be addressed for a while yet. When the kernel works without needing to overhaul too many other things, I'll package it as the next HWF build.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 29-01-2008, 09:29 PM   # 14 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 19 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Ok, so if Mint is a repackage of Ubuntu and you have a kernel for Ubuntu does that mean I can use this kernel in Mint (sorry if I sound like I have no idea what I'm talking about, it's probably because I don't)? Or should install Gutsy in my spare partition to make things easier on myself?
__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Old 29-01-2008, 09:39 PM   # 15 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 28 Male
Posts: 5,520
Times Helpful: 662
Status: Offline

My Computer

Quote:
Originally Posted by max12590 View Post
Ok, so if Mint is a repackage of Ubuntu and you have a kernel for Ubuntu does that mean I can use this kernel in Mint (sorry if I sound like I have no idea what I'm talking about, it's probably because I don't)? Or should install Gutsy in my spare partition to make things easier on myself?
According to this, Mint is currently based off of Gutsy and uses the same kernel. So, you should be able to install the kernel on Mint without problems. Let me know how it goes.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading the Kernel sabashuali Linux and Other OSes 1 05-03-2007 03:18 PM
HWF Ubuntu repo? :-) megamaced Linux and Other OSes 6 07-02-2007 03:28 PM
Kernel Error Roy Ng Windows OS's 1 04-12-2005 02:16 PM
Coming Soon to a Kernel Near You: GPL 3 pelvis_3 News and Article Comments 0 29-10-2005 01:07 AM
Kernel Fault wright3279 Windows OS's 1 08-07-2005 12:39 AM


All times are GMT +1. The time now is 03:04 AM.



Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved, Hosted by Servint