I think the fragmentation is only an issue when reading files in the same order they were written in the volume.
In normal use, reading files written in weedfs will most likely be random. So having the file fragmented should not strongly affect performance since it will be randomly accessed.
Anyway it would be a great idea to benchmark fragmented vs contiguous files on different kind of filesystem.
Hello, files *.dat and *.idx grow progressively. Because on harddrive there are many files, files are fragmented on native filesystem. I think that files would be prealocated to large size. Am I wrong?
--
You received this message because you are subscribed to the Google Groups "Weed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weed-file-syst...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
$ filefrag random-read.1.0
random-read.1.0: 2 extents found
$ filefrag volume1/benchmark_*dat
volume1/benchmark_1.dat: 7 extents found
volume1/benchmark_2.dat: 8 extents found
volume1/benchmark_3.dat: 8 extents found
volume1/benchmark_4.dat: 7 extents found
volume1/benchmark_5.dat: 7 extents found
volume1/benchmark_6.dat: 7 extents found
volume1/benchmark_7.dat: 7 extents found
$ sudo xfs_db -r /dev/sda
xfs_db> frag
actual 224, ideal 20, fragmentation factor 91.07%
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Seaweed File System" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seaweedfs/2oRtDMa1czw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seaweedfs+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Seaweed File System" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seaweedfs/2oRtDMa1czw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seaweedfs+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Seaweed File System" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seaweedfs/2oRtDMa1czw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seaweedfs+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Seaweed File System" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seaweedfs/2oRtDMa1czw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seaweedfs+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+unsubscribe@googlegroups.com.