saving files on local disk in VIM/EMACS taking 5+ seconds
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
saving files on local disk in VIM/EMACS taking 5+ seconds
Hi all,
I am not sure what happened, but all of the sudden saving files to a local disk in VIM/EMACS is taking around 5 or more seconds. It's extremely frustrating for obvious reasons
I am not sure how to begin debugging this, it seems as though my disk performance is ok:
Code:
gnychis@cyprus:~$ sudo hdparm -t -T /dev/sda1
/dev/sda1:
Timing cached reads: 2036 MB in 2.00 seconds = 1018.07 MB/sec
Timing buffered disk reads: 164 MB in 3.00 seconds = 54.61 MB/sec
i only notice this in text editors, not while trying to save a file from the web or something but that's hard to determine because of network transfer time
to give you an idea, i open up vim, create a brand new file, type the letter 't' and hit save and it takes 5 seconds. That's like 5 seconds to save a 1 byte file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.