You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the Pyxis directory uses two unsigned long (assumed to be 64 bit) to represent the sharers and writers of each page, in which each node is represented by one bit. This puts a hard limit of nodes in the system at 64 nodes. All fixed-width integer types impose the same kind of limit on the amount of nodes possible.
Ideally I believe this should be handled inside a Pyxis class with a proper interface, or at least a wrapper class that does not expose the internals of the storage. A quicker solution might be to use vector<bool> as each bool is represented by one bit. vector<bool> has some drawbacks and is not guaranteed to be contiguous for all sizes, so this should be investigated first.
The text was updated successfully, but these errors were encountered:
The current implementation of the Pyxis directory uses two
unsigned long
(assumed to be 64 bit) to represent the sharers and writers of each page, in which each node is represented by one bit. This puts a hard limit of nodes in the system at 64 nodes. All fixed-width integer types impose the same kind of limit on the amount of nodes possible.Ideally I believe this should be handled inside a Pyxis class with a proper interface, or at least a wrapper class that does not expose the internals of the storage. A quicker solution might be to use
vector<bool>
as each bool is represented by one bit.vector<bool>
has some drawbacks and is not guaranteed to be contiguous for all sizes, so this should be investigated first.The text was updated successfully, but these errors were encountered: