You are not logged in.

#1 2006-09-23 00:35:33

vipernicus
Member
From: IT Dept
Registered: 2005-05-10
Posts: 54
Website

2.6.18-viper1: Mutatis Mutandis

Viper Sources is pretty much my playground for new patches.

The main goal of this patchset is pretty much the same as E-Mission Sources: to
offer latest features, decrease latencies, decrease overhead, and improve interactivity.  The only difference is experimental versions of everything.  I boot test each release and run for an extended amount of time.


/* Notes */
Alot of changes in this version, I dropped Lockless, RCU-Preempt, and Adaptive Readahead (for now) in favor
of playing around with the new Compressed Pagecache.  http://linuxcompressed.sourceforge.net/

The LinuxCompressed Site wrote:

Compressed caching is the introduction of a new level into the virtual memory hierarchy. Specifically, RAM is used to store both an uncompressed cache of pages in their 'natural' encoding, and a compressed cache of pages in some compressed format. By using RAM to store some number of compressed pages, the effective size of RAM is increased, and so the number of page faults that must be serviced by very slow hard disks is decreased. Our aim is to improve system performance. When that is not possible, our goal is to introduce none (or a minimum overhead) when compressed caching is enabled in the system.

Example of new E-Mission Tunables (All but Custom are preconfigured options):

E-Mission Tunables  ---> 
( ) Server
( ) File Server
( ) Compute Server
( ) Gaming
( ) Desktop
( ) Low Latency Desktop
( ) Custom 

Custom Menu:

E-Mission Kernel Tunables (Custom)  --->
(6) Minimum Round Robin Timeslice (in milliseconds) (NEW)
(19) Factor For Default Value (NEW)
(1) Interactive CPU Scheduling (NEW)
(0) Compute CPU Scheduling (NEW)
(80) Percentage CPU For SCHED_ISO Tasks (NEW)
(66) Percentage RAM Filled With Mapped Pages (NEW)
(1) Hard Mapped Limit (NEW)
(1) Tail Large Files (NEW)
(0) Dirty Ratio (NEW)

2.6.18-viper1: Mutatis Mutandis

/* Patch List */ 
00-genpatches-rollup-2.6.18.patch
01-patch-2.6.18-ck1
02-iosched-rollup-2.6.18-rc7-mm1.patch
03-patch-ccache-alpha-007-2.6.18
04-gregkh-all-2.6.18.patch
05-sleazy-fpu-feature.patch
06-vectorize-aio-rollup.patch
07-reiser4-for-2.6.18-rc4-mm2.patch
08-unionfs-latest.patch
09-realtime-lsm-2.6.18.patch
11-cpu-support-rollup-2.6.18.patch
12-inode-diet-rollup-2.6.18-rc7-mm1.patch
13-inode-diet-reiser4-2.6.18-rc7-mm1.patch
14-inode-diet-squashfs-3.0.patch
15-inode-diet-unionfs-latest.patch
16-linux-phc-0.2.6-2.6.18.patch
17-build-fixes.patch
18-ati-fix.patch
19-lxdialog-2.6.18-rc7-mm1.patch
20-daconfig-2.3.1-2.6.18.patch
21-emission-tunables-4-2.6.18-ck0.patch
22-reiser4-update-2.6.18-rc7-mm1.patch
24-mm-rollup-2.6.18-rc7-mm1.patch
25-ntp-rollup-2.6.18-rc5-mm1.patch
26-ro-bind-mount-2.6.18-rc7-mm1.patch
28-non-libata-driver-for-jmicron-devices.patch
29-usb-mouse-polling-sysctl-2.6.18.patch
31-optims-from-mm-2.6.18-rc7-mm1.patch
32-fixes-from-mm-2.6.18-rc7-mm1.patch
33-suspend2-2.2.8-for-2.6.18.patch
34-name-tag-2.6.18-viper1.patch

Enjoy!

Patch:
http://vipernicus.evolution-mission.org … viper1.bz2

PKGBUILD:

Broken-Out:
http://vipernicus.evolution-mission.org … ut.tar.bz2

Broken-Out (Directory):
http://vipernicus.evolution-mission.org … 1/patches/

Making it work:

Manual Method:

cd /usr/src
rm linux
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
tar -xvjf linux-2.6.18.tar.bz2
mv linux-2.6.18 linux-2.6.18-viper1
ln -s linux-2.6.18-viper1 linux
cd linux
wget http://vipernicus.evolution-mission.org/patches/2.6.18/viper1/linux-2.6.18-viper1.bz2
bzcat linux-2.6.18-viper1.bz2 | patch -p1
make MENUCONFIG_COLOR=blackbg menuconfig

Nesl247 has created a script to switch the settings while running the current kernel and permanently through sysctl.conf

E-Mission Tunables Script 2.2.1:

http://distfiles.evolution-mission.org/ … n-tunables

How-to Install:

wget http://distfiles.evolution-mission.org/scripts/emission-tunables --output-document=/usr/bin/emission-tunables
chmod +x /usr/bin/emission-tunables

How-to Use (Choose one of the following options):

emission-tunables compute-server
emission-tunables desktop
emission-tunables file-server
emission-tunables gaming
emission-tunables ll-desktop
emission-tunables server
emission-tunables custom

This lets you switch between modes while running kernel.


For all support, requests, patches, please check the Emission-Sources Bugzilla Tracker
and check Emission-Sources Forums for new releases!

Offline

#2 2006-09-23 03:54:42

pbw
Member
From: Barrie ON, Canada
Registered: 2005-06-01
Posts: 65

Re: 2.6.18-viper1: Mutatis Mutandis

Vipernicus, thanks man.. Was hoping you'd release the 2.6.18 patchset soon smile

What's your opinion on the compressed pagecache so far over the former patches? (i know you stated you're still playing around with it)

Offline

#3 2006-09-24 03:51:04

vipernicus
Member
From: IT Dept
Registered: 2005-05-10
Posts: 54
Website

Re: 2.6.18-viper1: Mutatis Mutandis

pbw wrote:

Vipernicus, thanks man.. Was hoping you'd release the 2.6.18 patchset soon smile

What's your opinion on the compressed pagecache so far over the former patches? (i know you stated you're still playing around with it)

i'm not sure what to think about it right now, according to developers dynamic ccache resizing will improve performance of the pagecache, but presently, only static sizes can be used.

On there site, they recommend users to try out:
echo 1280 > /proc/sys/vm/max_anon_cc_size
echo 2560 > /proc/sys/vm/max_fs_backed_cc_size

Offline

#4 2006-09-25 09:05:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

I've put together a PKGBUILD for this, but I have a problem. I'm doing menuconfig with the coloured output, and it certainly looks pretty - it just doesn't work. To be more precise, the main config menu is displayed, but it won't respond to keyboard input. In xterm or Eterm, the up/down cursor keys just put garbage on the screen e.g.

^[OA^[OA^[OB^[OB

. The Enter key does bring me to the "E-Mission Kernel Tunables" menu, but all I can do is press Enter again for the default "Desktop" setting, and then I'm stuck in a loop. In a console, all I can do with any key is move the cursor around the screen. In all cases, the only way to get out of it is Ctrl-C.

Any idea what's going on there?

Offline

#5 2006-09-25 21:02:27

vipernicus
Member
From: IT Dept
Registered: 2005-05-10
Posts: 54
Website

Re: 2.6.18-viper1: Mutatis Mutandis

tomk wrote:

I've put together a PKGBUILD for this, but I have a problem. I'm doing menuconfig with the coloured output, and it certainly looks pretty - it just doesn't work. To be more precise, the main config menu is displayed, but it won't respond to keyboard input. In xterm or Eterm, the up/down cursor keys just put garbage on the screen e.g.

^[OA^[OA^[OB^[OB

. The Enter key does bring me to the "E-Mission Kernel Tunables" menu, but all I can do is press Enter again for the default "Desktop" setting, and then I'm stuck in a loop. In a console, all I can do with any key is move the cursor around the screen. In all cases, the only way to get out of it is Ctrl-C.

Any idea what's going on there?

Weird, does this also occur when you do not specify the new color schemes?

Offline

#6 2006-09-26 22:31:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

Definitely weird - I can't reproduce it now. Everything's working as expected. :?

Thanks for the reply, anyway.

I'll post the PKGBUILD in the AUR shortly.

Offline

#7 2006-09-26 23:24:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

Did you drop suspend2?

Offline

#8 2006-09-27 08:43:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

viper is now in the AUR here.

Offline

#9 2006-09-27 18:15:21

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: 2.6.18-viper1: Mutatis Mutandis

thanks tomk, I've been hoping that a package would get made for this for a while.

The kernel compiles fine, but I can't seem to get the nvidia drivers to compile against it. Have you tried compileing the nvidia drivers for this, or do you not use nvidia?

Offline

#10 2006-09-27 20:05:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

I don't use nvidia myself, but I can try the build anyway. Can you post your errors?

Offline

#11 2006-09-27 20:38:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

Actually, never mind. I had a look over here, and found similar problems - and the answer, fortunately, which is to use the current beta from nvidia.

So, here it is.

Offline

#12 2006-09-27 22:53:05

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: 2.6.18-viper1: Mutatis Mutandis

thanks a bunch tomk

Offline

#13 2006-09-28 13:38:54

vipernicus
Member
From: IT Dept
Registered: 2005-05-10
Posts: 54
Website

Re: 2.6.18-viper1: Mutatis Mutandis

Update:

Suspend2 patch available.
http://vipernicus.evolution-mission.org … 6.18.patch

I had originally included it in -viper1, but realized moments after releasing that if you DID NOT select suspend2, then the build would fail.  So I did some ifdefs and fixed it.

Offline

#14 2006-09-28 21:49:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: 2.6.18-viper1: Mutatis Mutandis

Suspend2 patch doesn't apply cleanly, vipernicus - 1 hunk failure, 1 fuzz, and various offsets. Details here.

Offline

#15 2006-10-10 21:02:15

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: 2.6.18-viper1: Mutatis Mutandis

Viper Rocks!

# uptime
 23:01:48 up 11 days,  1:38,  4 users,  load average: 3.03, 3.67, 3.93

Offline

#16 2006-10-22 17:46:34

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: 2.6.18-viper1: Mutatis Mutandis

Can you add this patch for bcm4311 wifi cards? it would be great if it worked natively instead of with ndiswrapper, which doesnt seems to work that well.

here is the link:
http://www.mail-archive.com/bcm43xx-dev … 02318.html


The ultimate Archlinux release name: "I am your father"

Offline

Board footer

Powered by FluxBB