| Linux Forum Index » Linux Development - Applications » Being cache conscious - How is data read from memory... |
|
Page 2 of 2 Goto page Previous 1, 2 |
|
| Author |
Message |
| William Ahern... |
Posted: Wed Aug 26, 2009 7:59 pm |
|
|
|
Guest
|
Sune <sune_ahlgren at (no spam) hotmail.com> wrote:
Quote: Hi,
this question is a bit of an odd ball I'm afraid. What I need to know
to be cache conscious when implementing a hash table is how an OS
Linux/UNIX reads data from RAM into a cache line.
Other than the technical bits discussed elsethread, you need a tool to help
you verify your assumptions and hypotheses:
http://valgrind.org/info/tools.html#cachegrind
Of course, such feedback will not be determinative regarding production
runs. |
|
|
| Back to top |
|
|
|
| Sune... |
Posted: Fri Aug 28, 2009 10:01 am |
|
|
|
Guest
|
On 27 Aug, 03:59, William Ahern <will... at (no spam) wilbur.25thandClement.com>
wrote:
Quote: Sune <sune_ahlg... at (no spam) hotmail.com> wrote:
Hi,
this question is a bit of an odd ball I'm afraid. What I need to know
to be cache conscious when implementing a hash table is how an OS
Linux/UNIX reads data from RAM into a cache line.
Other than the technical bits discussed elsethread, you need a tool to help
you verify your assumptions and hypotheses:
http://valgrind.org/info/tools.html#cachegrind
Of course, such feedback will not be determinative regarding production
runs.
Many people have taken their time to answer my questions and I really
appreciate everybody's viewpoints. Thanks go out to everyone!
/Sune |
|
|
| Back to top |
|
|
|
|