4 ms·
Does anyone know what the story with file systems and SSD's is? Google did made it clear that some tuning makes sense for SSD's, but did not make it clear whet
by artsrc 14y ago
Does anyone know what the story with file systems and SSD's is?
Google did made it clear that some tuning makes sense for SSD's, but did not make it clear whether the various file systems are more or less suited to SSD's.
- naner 14y agoBtrfs and Ext4 work fine with tuning (enabling TRIM, partition alignment, etc.[1][2]). Samsung is working on a log-structured file system designed with SSDs in mind called F2FS[3]. There is also NILFS (also log-structured) which has been around for awhile[4]. I would stick with Ext4+TRIM for now on a personal laptop. 1: http://superuser.com/questions/228657/which-linux-filesystem-works-best-with-ssd http://superuser.com/questions/228657/which-linux-filesystem... 2: https://wiki.archlinux.org/index.php/Solid_State_Drives https://wiki.archlinux.org/index.php/Solid_State_Drives 3: http://en.wikipedia.org/wiki/F2FS http://en.wikipedia.org/wiki/F2FS 4: http://news.ycombinator.com/item?id=639762 http://news.ycombinator.com/item?id=639762
- throwaway2048 14y agothese solid state specific file systems are not intended for use on the types of ssds you buy to plug into a SATA port, those are already heavily abstracted by their firmware, which handles stuff like wear leveling and block deallocation. These types of filesystems are intended for when the kernel has access to the raw addressing of the flash chips themselves, such as on some cellphones and embedded devices. They handle stuff like wear leveling, and deleting blocks.
- ibotty 14y agoi think you are confusing f2fs and nilfs which work with regular block devices (including ssds, but also cheaper flash (and also poorly regular harddrives)) with jffs(2) which will only work on raw flash.
- keeperofdakeys 14y agoModern harddrives and SSDs do a lot of work internally, SSDs especially. Probably the most important thing that an SSD does is wear-levelling, keeping an internal map of sectors and remapping them to ensure equal wear (so the OS never knows which sector it's actually writing to). This makes file system choice nearly inconsequential on a modern SSD (this doesn't apply to flash drives and flash cards though). The only important thing is TRIM, which should be enabled by default on nearly everything (just ensure that AHCI is set in the bios, and not IDE-Mode).