volatilityfoundation / volatility3

Volatility 3.0 development
http://volatilityfoundation.org/
Other
2.61k stars 447 forks source link

Cache mechanism: questions and improvements #851

Closed garanews closed 1 year ago

garanews commented 1 year ago

Recently Vol3 added a new cache mechanism: https://github.com/volatilityfoundation/volatility3/blob/develop/volatility3/framework/automagic/symbol_cache.py At first run of Vol3 the symbols will be read and data will be stored in a SQLite DB. Initially the default value to re-generate the cache was set to 3 days: now raised to 1 month. On my environment the build of cache (1.2MB) takes 10 minutes to parse 3000 windows symbols file (around 800MB).

ikelos commented 1 year ago

Hiya, we've discussed this a bit online, but here are some documented answers to your points:

ikelos commented 1 year ago

The first point should have been greatly improved by #858, which now checks file timestamps to see whether recaching is necessary. Assuming the datetime stamps on your local files are accurate, this should not require recaching unless a file is modified after the cache expiry timeout has been reached.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 200 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 60 days since being marked as stale.