Thanks a lot for your replies!!
rweaver:
Well, I remember that some time ago I saw some benchmarks against nilfs2 and I agree with you remembering that the results for NILFS2 weren't good. I didn't test it back then, but what I tested now gave me a good impression.
Here are the tests I ran yesterday evening & their results:
http://www.blah-blah.ch/Mra/Nilfs2performance
The link to the tests you posted are interesting.
I programmed some time ago an app which was using an interface to sqlite and I know that if not instructed differently it uses a "sync"-approach and that result matches what I saw in my tests as the final "sync" when using nilfs2 didn't almost take any time in any occasion, contrarily to ext3.
For the 4GB-write&read performance I now get different results - perhaps something changed in the meanwhile in the code as the article is dated June 2009.
The other tests, like the 32-thread read tests are not relevant for me as I don't have e.g. an Oracle DB or a cluster using that FS - it's just a tiny, shy OS...
Andrew Benton:
Hehe..., I was hoping not to get such an answer but it looks like that's the only way to see the real used space.
Even ignoring that yesterday evening I was waiting for at least 10 minutes without seeing the garbage collector/cleanerd doing anything, today after remeounting the partition the garbage collector woke up and cleared 2.8GB and it stopped there (I know that in reality the free space should be around 13GB out of the 16)......and now?
Anyway I started writing a 4GB file and the limit seems to be at 1.4GB free space - I am writing and writing and the free space is stuck at 1.4GB (still with "df -h"). Now it finished writing the 4GB-file and I started writing one more - the free space is slowly decreasing down to 800MB and now I interrupted the write. Now (I'm doing nothing) the free space varies (funny, or?) between 864MB and 840MB and I see the LED activity on the USB-stick... . I see an increase in CPU-time of "nilfs_clearnerd" and everything still blinking but no changes to the free space... - "lscp" still shows all old checkpoints (never did any manual ones). It started blinking on the 65th minute of England-Algeria and it's still blinking at the 81st minute......CPU-time of "nilfs_clearnerd" increasing..... no differences with "lscp" nor "df -h".... boring.
As an experiment I will now unmount the partition to see if that happens immediately......yes - unmounted.
Now I will remount it....done. "df -h" now shows 1.2GB free space (?)....waiting (as the USB-stick is blinking)... . At 84th of Englang-Algeria it shows 1.5GB free...... at 85th it shows 1.7GB free and it stopped blinking - and I see that the old checkpoints have vanished.
Well, quite a funny FS. I think I'll try to use it.
Thanks guys for your posts!!
Just go on posting answers if you don't agree with anything or have anything more to add!!!