Fedora 17

Henrik Frisk frisk.h at gmail.com
Mon Dec 10 14:40:03 UTC 2012


On Mon, Dec 10, 2012 at 3:06 PM, Heinz Diehl <htd at fritha.org> wrote:
> On 10.12.2012, Henrik Frisk wrote:
>
>> Anyone knows of something I can do to get it a bit more speedy?
>
> Here's what works for me. For deeper explanation, use Google (I'm
> sitting with my exams in statistics and have no time for explaining,
> sorry!)
>
> 1. Buy a fast(er) harddisk
>
> 2. Compile a preempt kernel with sched_autogroup and zcache enabled.
>
> 3. Write this in /etc/rc.config
>
> /sbin/blockdev --setra 8192 /dev/sda
>
> echo "cfq" > /sys/block/sda/queue/scheduler
> echo "32" > /sys/block/sda/queue/iosched/quantum
> echo "0" > /sys/block/sda/queue/iosched/slice_idle
> echo "1" > /sys/block/sda/queue/iosched/low_latency
> echo "51200" > /sys/block/sda/queue/nr_requests
>
> echo "20" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
> echo "10" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
>
> 4. Write this in /etc/sysctl.conf:
>
> vm.swappiness = 10
> vm.vfs_cache_pressure = 50
> vm.dirty_ratio = 10
> vm.dirty_background_ratio = 5
>
> 5. Kick tracker, zeitgeist and similar performance-drags from your
> system.
>
> That's it. Works for me :-)
>
Thanks a lot, I'll try that!

/Henrik


More information about the users mailing list