Web lists-archives.com

Re: SSD's and many edits of a single file




Gene Heskett wrote:
> Greetings folks;
>
> Updodate Wheezy, realtime kernel because machine is running linuxcnc.
>
> Editor is geany and file is left open in the editor, and reloaded into 
> linuxcnc as changes are made to the file, and saved but not closed.
>
> And eventually the updates made to the file are not actually saved, geany 
> does not report an error and does say success by changing the filename 
> font from red which tells me its been modified, back to black in the 
> window top border, but does not actually update the file on the disk, 
> and the only fix seems to be a reboot.
>
> Is this a known fault with some SSD's? Or???

  i'm not familiar with geany or linuxcnc...  any options
in geany for save interval?

  what kind of file system?  what are the mount options
in fstab?  type of SSD?

  a sync once in a while like other poster recommended
may be a help as it would also clear out any waiting io
but i'm not sure how much that may interfere with the
realtime aspects if you have some large chunks waiting.

  i've used ionice for some things to make sure they
don't interfere on an older system with limited
capacity.  my current machine is a screamer in comparison
so i've not had to do that.


  songbird