c - Storing a large hash on HDD -


About 80 GB size on hard drive, I'm trying to store a simple large handtable (64 bit key, 64 bit value) I

If I want to get the best performance, what's the most effective way to do this?

Are completely random to look and I have to see every 10ms? Is C / Linux available as a library, which is the key to map / hash for logical block address of HDD so that access can be done faster?

Please give some guidelines.

You can use the memory map file ( mmap ), this By the way, your data is such that you will only read one page for each lookup. This can be done through all the keys given in the file, and then there is a memory index that holds the first key of each page.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -