-
Notifications
You must be signed in to change notification settings - Fork 133
[Issue #973] implement a buffer pool for pixels cpp #1101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Add io_uring mode selection (IOPOLL requires further code changes)
* License along with Pixels. If not, see | ||
* <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove one empty line.
length = length_; | ||
this->bufferId = bufferId; | ||
Request::Request(uint64_t queryId_, uint64_t start_, uint64_t length_, | ||
int64_t bufferId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ in the next line.
template <class U> | ||
constexpr huge_page_allocator(const huge_page_allocator<U> &) noexcept {} | ||
|
||
size_t round_to_huge_page_size(size_t n) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ in the next line.
} | ||
|
||
// Prints information about the mutex owner | ||
void print_owner(const std::mutex* mutex, const std::string& mutex_name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code format.
1.update pxiels-extension
2. bufferpool
3. hugepage
4. update pixels-cpp.properties