billb wrote:spykez wrote:At the moment, I'm very happy with the optimisations I've done to my YDL - although like I said previously, I feel it is more likely due to chucking stuff out, resulting in less swappage... than a brand new kernel or gcc.
Would you please share your config file? I'm new to kernel building but am able to create an updated kernel rpm to share with the community (I did so a while back to deal with the
bluetooth issue), so I'd like to see what sort of things you end up throwing out.
Not a problem, sorry I took a while to get back to your post, truth be told, I have been a bit busy with a tiny windows (haha) project for work.
I'll attach one of my current configs here, one that I believe will be most useful to the widest audience. This one works for building 2.6.32 on YDL 6.2.
You may recall I had some trouble getting the make ps3defconfig to work in my initial posts.
I eventually got it to work. From memory (I should have taken notes!), I believe I had to check one of the legacy bus options to get it to play nice with YDL (make ps3defconfig works on a gentoo, no problems, pretty much if I recall correctly). I think I also may have had to build the clock driver into the kernel. I'll go thru it over the next week or so when I've got time, it should come back to me and I'll see if I can tell you which option(s) it was that made ps3defconfig go exactly.
So this file is actually NOT a make oldconfig derivative, it's a make ps3defconfig derivative. Configured to boot as closely to YDL as possible, without getting the init scripts on boot to grumble.
In this version have I included most of the default drivers that are needed so that the default init scripts do not complain. I remember meticulously checking the diffs between the two config files (the YDL official config from... what was it 2.6.29?) and trying to reconcile them, mainly with regards to BT and iptables, so I hope bluetooth and iptables will work fine (you can chuck BT RAID and iptables all out by the way to have a leaner config - it will boot but the initscripts will grumble).
I believe I threw out RAID in this config, as I thought really it was completely pointless on a ps3, so you will see a tiny grumble about that on boot. I also cleaned out a lot of device drivers that didn't apply. Or rather I believed did not apply
I believe I left the ps3defconfig time slice alone (it appeared to ask for a finer resolution, than possibly needed, if I recall correctly) but I can't remember for sure. It'll be visible in the make menuconfig for alteration anyways, I think the ps3 default was 250 hz or something in that order, I may have dropped it back to 100hz.
So this is my current 'stable' kernel config. One of two actually, the other has no BT, no iptables, no raid, but I can't seem to find that frickin' config file at the moment. I'll go thru' my ps3 over the weekend and try and dig that out. Didn't have time for more than a quick look around. In the meanwhile, take a look at this one. I hope the BT works as I've never tried it.
Cheers
Rob