Comment 7 for bug 189184

Revision history for this message
Eero Tamminen (oak-helsinkinet) wrote :

Any reason why the last patch from half a year ago wasn't applied?

It has three separate optimization:
- Allocation overhead reduction (in my full 8GB file system case, reduced total memory usage from 120MB to 80MB)
- FAT entry size reduction by changing 32+32 bits to bitfield (thing that needs to be checked most closely)
- Keeping only one FAT entry in memory once FATs are checked to match (with tens of GB sized file systems, saves tens of MBs of RAM)

First two optimizations help more with full file systems, the last (already applied as that was in the first patch) one has most significance when the file system is fairly empty and less memory needs to be used for checking directory contents.