cd /usr/bin
time ls -la

        round 1        round 2        round 3
real    0m10.969s    0m9.672s    0m9.670s
user    0m0.039s    0m0.039s    0m0.028s
sys     0m9.730s    0m9.629s    0m9.629s

=======================================
now with video=vesafb:ywrap,mtrr:3

tty console, after reboot:
cd /usr/bin
time ls -la

        round 1        round 2        round 3
real    0m4.542s    0m3.325s    0m3.324s
user    0m0.035s    0m0.025s    0m0.023s
sys     0m3.345s    0m3.298s    0m3.299s

konsole, kde fresh X session:

        round 1        round 2        round 3
real    0m0.596s    0m0.117s    0m0.096s
user    0m0.034s    0m0.031s    0m0.028s
sys     0m0.069s    0m0.045s    0m0.049s

time ls -la > /dev/null

        round 1        round 2        round 3
real    0m0.090s    0m0.059s    0m0.049s
user    0m0.024s    0m0.019s    0m0.015s
sys     0m0.040s    0m0.030s    0m0.033s

time ls -la | wc -l
5186

i see a persistent 50% to 60% tty scrool speed increase from aprox. 10s to
4s for 5k line listings
i think is a good tip, will keep my new grub settings ...



=======================================
linux is free, but needed expertise to use this little beast
is a personal, time consuming, continuous accumulation of knowledge
 and wasted time can not be rolled back no matter how much money you have

selling free software can not bring to you too much money,
but USING free software you can make a lot of money
like Google ... or IBM

your little help to free software development does not bring
to you any money but can help you use it more efficiently,
so you can make more money ... meanwhile, other users of
that little free software program, using your contribution
can make more money! nobody loses anything, all those who know
how to use a free software program, in continuous evolution, wins
registered linux user #352479


2012/1/10 Joost Ruis <joost.r...@sabayonlinux.org>

> I bumped into a user in IRC pointing out that tty listing (ls -la
> /usr/bin) is rather slow on Sabayon.
> After a 10 seconds google search I bumped in this article here:
> http://gddd.wordpress.com/2009/10/08/ad/
>
> So I've added the command to /etc/default/grub so it looks like:
> GRUB_CMDLINE_LINUX_DEFAULT="video=vesafb:ywrap,mtrr:3"
>
> regenerated my grub menu:
> #grub-mkconfig -o /boot/grub/grub.cfg
>
> and after a reboot I can confirm this really speeds up tty for me.
>
>


Reply via email to