Originally posted by curfew
View Post
Announcement
Collapse
No announcement yet.
Lightweight Guard Pages For Linux Showing 5x Speed-Up For Memory Mapping Invocations
Collapse
X
-
- Likes 3
-
Originally posted by curfew View PostIf you are able to print all the calls into a terminal without choking your whole machine, then this optimization will not have any slightest effect in your life ever.
Yes, it's that's small.
Leave a comment:
-
Originally posted by Hi-Angel View PostSeems to be pretty useful. I see lots of `mmap`s being called with `PROT_NONE` every second on my laptop:
Code:sudo bpftrace -e 'tracepoint:syscalls:sys_enter_mmap{ if (! args->prot) {printf("mmap called by PID %d (%s): addr=%x, prot=%x\n", pid, comm, args->addr, args->prot);} }'
Yes, it's that's small.
Leave a comment:
-
Seems to be pretty useful. I see lots of `mmap`s being called with `PROT_NONE` every second on my laptop:
Code:sudo bpftrace -e 'tracepoint:syscalls:sys_enter_mmap{ if (! args->prot) {printf("mmap called by PID %d (%s): addr=%x, prot=%x\n", pid, comm, args->addr, args->prot);} }'
- Likes 2
Leave a comment:
-
Wow, this looks like a major performance improving patch! Hope it lands soon
- Likes 1
Leave a comment:
-
Lightweight Guard Pages For Linux Showing 5x Speed-Up For Memory Mapping Invocations
Phoronix: Lightweight Guard Pages For Linux Showing 5x Speed-Up For Memory Mapping Invocations
Patches posted this week by Oracle's Lorenzo Stoakes are the latest attempt at lightweight guard pages for the Linux kernel...
Tags: None
- Likes 1
Leave a comment: