70 likes | 255 Views
Faster Search Time Filesystem (FASTFS). Aaron Dingler and Steve Kurtz November 1 2007. Problem. Exhaustively searching your filesystem for a word or filename is SLOW! All files must be searched Essentially your entire disk must be paged through memory
E N D
Faster Search Time Filesystem(FASTFS) Aaron Dingler and Steve Kurtz November 1 2007
Problem • Exhaustively searching your filesystem for a word or filename is SLOW! • All files must be searched • Essentially your entire disk must be paged through memory • We need to narrow our search while not losing breadth or accuracy
Solution • Use FUSE to layer our solution on pre-existing filesystem • Create a “Library” of key words and links to files/directories in which they exist • But which key words do we cache? . . . Everything • What is the best way to manage this “Library”? . . . A database
Implementation • SQLite • Quick access and modification • Easy management
Initial Results • We have built our database and can insert, delete and modify files and directories • Search file/directory names • FUSE updates our database • Average search time for find • Standard = .185s • FASTFS = .002s
Future Work • Index words in files • Measure FASTFS performance • find + grep • Different filesystem structures • Database space overheard • Individual commands (write, mkdir, rm) • Final results will be analyzing the effectiveness of FASTFS