Artem Bityutskiy schrieb:Such as? Flash (also on block devices) is slow and expensive (when compared to modern hard disks) and therefore compression is *very* useful here. Not only it can potentially save you money; reads and writes will be smaller/faster (unless you're editing music and videos, where one won't use flash anyway), flash will wear out slower etc. Is there a filesystem for Linux which can provide transparent compression and works for block devices (other than user-space NTFS or some outdated ext2 patches)? I don't think so. Do you mean using hacks like block2mtd? It's hacky, and pretty hard to boot a system this way (need to build own initramfs, with a static block2mtd or loads of libraries - not something an average user would like to do; no distro supports it; updating a kernel would be a pain etc.). It's a good comparison, but it doesn't show disadvantages of using traditional filesystems on flash-based block devices. I just mentioned the reasons why a filesystem like LogFS would be useful on block devices: there are valid reasons to do it. (...) True. Unfortunately, there is no way to access flash directly on flash-based block devices (USB-sticks, IDE-flash disks, SSD disks etc.). Therefore, could an answer be: use a traditional filesystem? Unfortunately, traditional filesystems were rather designed for rotating media / cheap disks (no transparent compression; tend to accumulate writes in one area of the disk - more on that - below). Performance is only one factor in the equation. Other factors are: cost and reliability. I speak from experience: flash-based block devices tend to have poor wear-levelling (at least Transcend IDE-flash disks). To reproduce: - format a 2 GB Transcend IDE-flash disk with ext3 - write a small file (50-100 kB) - update that file ~several hundred thousand times - as you finish, IDE-flash disk will have 200-300 badblocks If wear-levelling on the underlying IDE-flash device was any decent, writes would be spread on the whole ~2GB surface, totalling in many more successful writes. Again: this is my experience, although it may contradict the theory underlined in the link you gave earlier. You have much more experience with flash file systems: correct me where I'm wrong. -- Tomasz Chmielewski http://wpkg.org --
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | Linux 2.6.25.10 |
| Linus Torvalds | Re: [stable] Linux 2.6.25.10 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Edwin Eyan Moragas | poll(2) vs kqueue(2) performance |
| Jonathan Thornburg | strlcat/strlcpy vs overlapping arguments |
| askthelist | Packets Per Second Limit? |
| Siju George | Skype on OpenBSD 4.1 using Fedora RPM |
git: | |
| Michael Hendricks | removing content from git history |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Junio C Hamano | Re: bad git pull |
| Junio C Hamano | Re: More precise tag following |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Sagan | 387 failed error [help needed] |
| David Hobley | linux support for (PC) notebooks |
| Joel M. Hoffman | Re: How to disable C-A-D for non-root users? |
