Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Just built vanilla Arch kernel...
New Posts  All Forums:Forum Nav:

Just built vanilla Arch kernel... - Page 4

post #31 of 46
Congrats, nathris . Just remember that the vanilla kernel is optimized for size and not necessarily speed (-Os versus -O2). I can get 2.6.37 vanilla down to 1.2MB if optimized for size. Currently running 2.6.37 at 3.7MB...
Edited by adamlau - 1/7/11 at 11:46pm
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 #32 of 46
Quote:
Originally Posted by mushroomboy View Post
If the difference isn't noticeable on a platter system an SSD won't be noticeable either. Stripping a kernel used to be really popular, back when they weren't so modular. The thing is, now that we can unload that code there's no reason to go through the work. I see it as wasted time these days, but to each their own. =P
Oh no, I didn't mean that putting it on my SSD would reveal a greater variation in boot time based on how I configured the kernel, just that simply putting Arch on my SSD would show a difference in boot time. Instant gratification FTW
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #33 of 46
Grrrrr... accidental duplicate. What has happened to the cache here? Seems like there used to be many minutes before a session expired.
Edited by enorbet2 - 1/8/11 at 12:02am
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #34 of 46
Quote:
Originally Posted by randomizer View Post
Well if you take Arch for example, unless you compile a kernel manually I'm fairly sure it will overwrite the existing kernel each time it is updated. Perhaps there is more to it than that but that's what appears to happen. I'm pretty sure that Arch only ever has one vmlinuz at a time by default. I haven't been running Arch for a while so I'd have to double-check to be certain though.
Greetz
Well I suppose I have a bad reputation for not trusting automatics software, figuring if you want it done right you do it yourself, and this will likely add to it. Modules can be loaded on an on-demand basis so I don't trust auto-config based on what's running. I compile manually and old skool
Code:
 make mrproper&&make menuconfig&&make bzImage&&make modules&&make modules_install

cat arch/x86/boot/bzImage > /boot/vmlinuz-new
cp System.Map /boot/System.map-new
cp .config /boot/config-new

Note: The appended names (ie: "new") depend on whether I am compiling a new config for an existing kernel version or a new version.  

Then I update bootloader to recognize/activate kernel and add it to the boot menu
So my kernel is never overwritten unless I overwrite it.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #35 of 46
Quote:
Originally Posted by adamlau View Post
Congrats, nathris . Just remember that the vanilla kernel is optimized for size and not necessarily speed (-Os versus -O2). I can get 2.6.37 vanilla down to 1.2MB if optimized for size. Currently running 2.6.37 at 3.7MB...
Let's keep our nomenclature consistent. A Vanilla kernel has specifically or exclusionary nothing to do with size or optimizations. It simply means that no "flavors" have been added and it is configured from an unchanged kernel.org source tarball.

The *Buntu kernels are heavily patched and otherwise altered. There are whole sections titled "Ubuntu" that add distro and hardware specific support at kernel and module level. Studio Ubuntu's kernel is also not vanilla but is configured for performance and speed for the most part. They don't tweak it to the max for performance, nor can any distro do that for public release, because it is hardware dependent. You must first have performance hardware to be stable with aggressive settings, much like overclocking.

Everything is a tradeoff. Install kernels are commonly big to be compatible with everything. A smaller kernel is faster but does less - the whole "somethin' for nuthin'" conundrum. . Each person can choose a balance. A 1.2MB on a modern desktop system surely lacks considerable function. If that is a reasonable tradeoff for you, great. Obviously it wasn't since you now use one more than three times that size.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #36 of 46
Quote:
Originally Posted by enorbet2 View Post
Greetz
Well I suppose I have a bad reputation for not trusting automatics software, figuring if you want it done right you do it yourself, and this will likely add to it.
I was making a comparison between upgrading the distribution's mainline kernel and compiling your own. Whether that is the old skool method or using scripts wasn't a distinction I was trying to make The Arch build scripts allow you to specify the kernel's name so that it won't overwrite the original. By the looks of it they simply modify .config as you would anyway. When I was running Ubuntu I would do this myself with gconfig, perhaps because I wasn't sure how to do it otherwise.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #37 of 46
Quote:
Originally Posted by enorbet2 View Post
Let's keep our nomenclature consistent. A Vanilla kernel has specifically or exclusionary nothing to do with size or optimizations. It simply means that no "flavors" have been added and it is configured from an unchanged kernel.org source tarball.
make menuconfig from the unchanged kernel.org source tarball defaults to -Os.
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 #38 of 46
Quote:
Originally Posted by adamlau View Post
make menuconfig from the unchanged kernel.org source tarball defaults to -Os.
Of course I know that but that is just the default setting. I know and apparently you do too, that a vanilla kernel comes untainted from kernel.org. There are many who will read this thread who are so tied into repositories, that will assume that the latest kernel update for their distro is "vanilla" if they just leave it alone.

Ubuntu and it's like remind me of a time when there were millions of people who actually believed that AOL was the Internet.
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #39 of 46
Quote:
Originally Posted by randomizer View Post
Oh no, I didn't mean that putting it on my SSD would reveal a greater variation in boot time based on how I configured the kernel, just that simply putting Arch on my SSD would show a difference in boot time. Instant gratification FTW
lol I didn't know! hahaha

As for the Vanilla kernel stuff... I think it's nice to run a vanilla kernel, but I also think it's fun to choose your own patches. That's why I like doing it! There is just something about applying the patches myself that makes it worth it.
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 #40 of 46
@nathris: I had been using my old .config since early 2.6 and just got the kernel image down to 1784848K. Thanks for the inspiration!

@mushroomboy: How is 2.6.37 BFS/BFQ working out for you? 2.6.37 BFS has been running fine for the past few days, it's when BFQ has been patched in (CFQ removed) alongside BFS that things turn ever so slightly sluggish...
Edited by adamlau - 1/9/11 at 3:05pm
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
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Just built vanilla Arch kernel...