Re: odd scrolling issue in vim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jack Howarth wrote:
   Has anyone else noticed this issue under Fedora 9 x86_64
with the 2.6.25.10 or 2.6.26 kernels? I find that if I open
a large text file in vim (as vi), jump to the bottom of the
file and then use the 'k' metakey to scroll up that the scrolling
is not smooth like in earlier Fedora releases. There is a huge
lag in the process of scrolling up. Oddly scrolling down the file
seems to be pretty smooth. This bug is really annoying. I assume
it must be a vim bug.
               Jack


When you're scrolling down, the kernel does readahead, so it's fast. When you're scrolling up, it's pretty much all demand paging, so it's going to disk each time. The difference is probably related to how the kernel is managing the memory on your workload. I suspect that in the past it was paging in large chunks (see the vm.page-cluster sysctl) on each disk read, so it was still reading faster than you could notice the lag, and for some reason it has decided that's no longer a good idea due to memory pressue. I haven't noticed this problem on my F9 x86_64 system.

-- Chris

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux