My current netfilter firewall produces about 80'000 lines of log per day.
The most common line length is between 192 and 297 chars
The Kingston SSD reports 512 byte logical and physical sector size to
smartctl.
> === START OF INFORMATION SECTION ===
> Device Model: KINGSTON SMS200S330G
> Serial Number: 50026B725C02AB1E
> LU WWN Device Id: 5 0026b7 25c02ab1e
> Firmware Version: 605ABBF2
> User Capacity: 30,016,659,456 bytes [30.0 GB]
> Sector Size: 512 bytes logical/physical
> Device is: Not in smartctl database [for details use: -P showall]
> ATA Version is: 8
> ATA Standard is: ACS-2 revision 3
> Local Time is: Sun Feb 7 14:51:36 2016 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
With "smartctl -l devstat /dev/sda" I can view the "Logical Sectors
Written". After appending a 193 byte string to a file on the SSD I should
be able to see the write amplification caused by the file system.
This is what I found:
ext2 - 16 sectores per write
ext4 - 40 sectors per write
f2fs - 32 sectors per write
vfat - 2-3 sectors per write
It makes sense that ext4 uses more writes because of the journal. f2fs uses
more writes then ext2, although f2fs was designed to work well with flash
media. And it looks like vfat/fat32 would be the best file system for an
SSD because it has the lowest write amplification.
The SSD allows for 90 GB writes per day for 3 years, according to its
warranty.
That would be 188743680 sectors per day (90*1024*1024*1024/512). With ext4
that would be 4'718'592 lines of log per day, with vfat more then 60
million lines of log. (ulog does not sync after every write, multiple lines
might end up in one write to flash media.)
Which file system would you choose? Is there any reason not to use fat32?
(It looks like fstrim doesn't work on vfat/fat32 but I don't know how
important fstrim is for longevity.)
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/