Summary: | "Disable swap files syncing" option does not work | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | André Martins <aanm90> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | major | CC: | christoph, code, micael.capitao |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Dropbox screenshots... |
Description
André Martins
2013-04-03 20:11:27 UTC
Same here with Arch Linux x86_64. Right, as I understand it "Disable swap file syncing" disables that the swap file is forcibly written each 15 seconds to the disk, which may be bad on portable or network devices. Pleas note that the option does not say "Disable swap files", it's just about the frequent synchronization. In other words, disabling the swap files is not supported currently. If you really do not want a swap file, then please open a new report stating this clearly: "Add option to disable swap files". I'll close this as invalid, since the report does not match the discussed option at all. 15 seconds? The file is updated after I write a single character! This is really bad to SSD :-( If you disable syncing, no fsync will be done at all, then you are fine. Beside, even if all 15 secs fsync is done, your system writes much more other data to disk the whole time, that will really have close to 0 impact on your disk live. Believe my, all my machines run on SSDs only since 2-3 years. Through the behaviour of my Dropbox sync I can see that on each key press the .kate-swp file _is_ changed (it grows in size), even with the syncing option disabled, so this option does definitely NOT work as intended. I will attach screenshots of the Dropbox log after I did the following: 1. Create file "test.txt" in Dropbox folder 2. Open with KWrite, type "Hello World" 3. Save file and close KWrite There seem to be even bigger problems when using sshfs because the file is updated every time a key is pressed. Please look into that. You can find the new report asking for an option to completely disable swap files as bug #321135 ... Created attachment 81130 [details]
Dropbox screenshots...
|