HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

How does hashed inverted page table work?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
invertedhashedpagedoeshowworktable

Problem

I understand hash function and inverted page table, but then the book I read describes something called hashed inverted page table (use hash to accelerate the finding because IPT is large), with TLB used. I don't understand why there is an arrow point to itself inside the hash table? Could anyone explain the mechanism?

Solution

From your picture, one definitely see a hash table collision solution. If one carefully examine it, will see that the table uses itself to solve the collision, that is Open Addressing.

In open addressing, the collision can be resolved by many methods;

  • Linear Probing



  • Quadratic Probing



  • Double hashing.



It might be Double Hashing or Quadratic Probing but the information is not enough to resolve.

Context

StackExchange Computer Science Q#101291, answer score: 2

Revisions (0)

No revisions yet.