Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › 2.6.38-rc2 anyone?
New Posts  All Forums:Forum Nav:

2.6.38-rc2 anyone? - Page 4

post #31 of 37
Thread Starter 
I also found out that editing the arch/x86/configs/Makefile for the kernel helps in Phenom II cpu's, well for anybody with GCC newer than 4.3 I believe. You can edit the settings such as:

cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)

to

cflags-$(CONFIG_MK8) += $(call cc-option,-march=native)

when choosing the Opteron/Athlon64 enhancements under the CPU prefrences for the config options (xconfig/gconfig/ect..).

[edit] Maybe I'll get a config guide for Phenom II optimizations you can do across all distro's when I'm done with mine.
Edited by mushroomboy - 2/2/11 at 2:33pm
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #32 of 37
Indeed, mb. As an aside, I feel I established the wrong tone earlier. In effect, what I meant to say was that unfortunately, my particular OC and OS setup with prevents me from diffing anything substantial between patches. And yes, a Phenom II guide would prove to be most useful, great suggestion there .
ThermoChilled
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T ASUS Crosshair IV Extreme EVGA GTX 580 SuperClocked STT WX200UB2G7 
Hard DriveOptical DriveOSMonitor
VelociRaptor WD6000HLHX Sony Optiarc AD-7260S Arch Linux x86_64 + JWM NEC MultiSync PA241W-BK 
KeyboardPowerCaseMouse
Topre Realforce 87UKB Corsair CMPSU-850AX Lian Li Tyr PC-X500FX Logitech G9x 
Mouse Pad
ZOWIE GEAR P-TF 
  hide details  
Reply
ThermoChilled
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T ASUS Crosshair IV Extreme EVGA GTX 580 SuperClocked STT WX200UB2G7 
Hard DriveOptical DriveOSMonitor
VelociRaptor WD6000HLHX Sony Optiarc AD-7260S Arch Linux x86_64 + JWM NEC MultiSync PA241W-BK 
KeyboardPowerCaseMouse
Topre Realforce 87UKB Corsair CMPSU-850AX Lian Li Tyr PC-X500FX Logitech G9x 
Mouse Pad
ZOWIE GEAR P-TF 
  hide details  
Reply
post #33 of 37
Thread Starter 
Quote:
Originally Posted by adamlau View Post
Indeed, mb. As an aside, I feel I established the wrong tone earlier. In effect, what I meant to say was that unfortunately, my particular OC and OS setup with prevents me from diffing anything substantial between patches. And yes, a Phenom II guide would prove to be most useful, great suggestion there .
You also have an X6 and a Rapter drive, roughly 30% faster than my drive. All in all that might help out in performance. I'm betting if you did the right stressing you would be able to notice a huge difference. Playing Crysis does some of that, but there are other areas that improve from the tweaks. One of them is compiling code + running other mediocre activities. I notice an overall system stability with tweaks and patches when I'm running intense cpu programs. I compile a lot of code myself because I like having certain programs up to date, or I like to have features not normally there. This effects my entire system and I've noticed that things are more responsive. Most people don't intend to run all 4 cores 100% for long periods of time, unfortunately I do.

With that said, a Phenom II gude (or even a general tweak guide) for the kernel would be good to do. I can strip everything away and give you Wifi, SATA (most SCSI removed), universal video (ATI/Nvidia, or just one), Generic USB, Networking, and a few other things. Though with all that being generic and not machine specific you don't lose as much as if you were to completely streamline the system. I like that though cause it allows for future upgrades (following your hardware path, such as AMD/Nvidia, Intel/Nvidia, Intel/AMD, ect..). Removing legacy and non-essentials (generic) you can cut about 30MB out of modules, the vmlinuz from 2.3 to 1.7, and the system.map from 1.6 to 1.4 giving you some improvements along the way.

Now the faster and more powerful the system the less you will see these improvements put into play. However, if you start compiling applications to use machine specific flags plus pushing the kernel size down you might see things perform a bit better.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #34 of 37
sorry to hijack the thread, but i do know of one thing that effects the linux kernel more than anything, is the compression it uses once compiled.

i would need to do a bit more research into it, but i wonder why they compress the kernel, is it a leftover from floppy days?

bsd dosn't run a compressed kernel, and people do remark that is one of the reasons why it is faster than your average run of the mill generic linux release.

i could be wrong, they might be talking how some distro's use a initrd and others do not.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #35 of 37
Thread Starter 
Yes and no, the kernel (I believe) is decompressed at runtime, so the only pause you'll notice is that "Loading" thing right at the initial boot. Once you start seeing the text go the kernel is already uncompressed and running. The majority of the kerne's power resides in it's modules, which are located in /lib/modules/kernelname and generally take up 50MB+ of space. The OSX kernel is only 7MB in size, that's not much bigger than the linux kernel. If you use bz2 compression you'll probably get that down to the Linux kernels size. The most important part again is probably the modules, as far as I know kernel compression only effects boot times.

[edit] Initrid is for systems that don't build the necessary kernel modules into the kernel, giving the ability to run a more modulated kernel. Unfortunately you have to build an initrd/initramfs instead.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #36 of 37
My box is pretty much maxed out with aggressive flags, stripped options (kernel included) and the use of lightweight apps. Really not much else I can do but to contribute some pointers along the way as you begin to build out your guide. I posted this two weeks back in the ASUS CIV Formula/Extreme thread in the AMD Motherboards motherboards forum, but I don't think anyone payed any attention . The following represents the minimum list of kernel drivers required to support the ASUS CIV Extreme in its native state:

Code:
ahci
asus_atk0110
e1000e
ehci_hcd
firewire-core
hid
i2c_core
i2c_piix4
ide_core
jmicron
k10temp
libahci
ohci_hcd
scsi_mod
sd_mod
usb_storage
usbcore
usbhid
xhci_hcd
I suppose I should post the appropriate .config entries as well...
Edited by adamlau - 2/3/11 at 3:03pm
ThermoChilled
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T ASUS Crosshair IV Extreme EVGA GTX 580 SuperClocked STT WX200UB2G7 
Hard DriveOptical DriveOSMonitor
VelociRaptor WD6000HLHX Sony Optiarc AD-7260S Arch Linux x86_64 + JWM NEC MultiSync PA241W-BK 
KeyboardPowerCaseMouse
Topre Realforce 87UKB Corsair CMPSU-850AX Lian Li Tyr PC-X500FX Logitech G9x 
Mouse Pad
ZOWIE GEAR P-TF 
  hide details  
Reply
ThermoChilled
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T ASUS Crosshair IV Extreme EVGA GTX 580 SuperClocked STT WX200UB2G7 
Hard DriveOptical DriveOSMonitor
VelociRaptor WD6000HLHX Sony Optiarc AD-7260S Arch Linux x86_64 + JWM NEC MultiSync PA241W-BK 
KeyboardPowerCaseMouse
Topre Realforce 87UKB Corsair CMPSU-850AX Lian Li Tyr PC-X500FX Logitech G9x 
Mouse Pad
ZOWIE GEAR P-TF 
  hide details  
Reply
post #37 of 37
Thread Starter 
Yeah I was going to venture into doing that with my kernel, but doing the streamline option gave me an unbootable kernel and I haven't bothered to venture into finding out why yet. Too much work atm.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › 2.6.38-rc2 anyone?