convert mmap_sem to a scalable rw_mutex
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 47 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | scalable rw_mutexinclude/ kernel/ kernel/ | +237 | 27 replies | |
| 2/2 | mm: change mmap_sem over to the scalable rw_mutexarch/ arch/ arch/ +136 more | +740 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] convert mmap_sem to a scalable rw_mutex
I was toying with a scalable rw_mutex and found that it gives ~10% reduction in system time on ebizzy runs (without the MADV_FREE patch).
2-way x86_64 pentium D box:
2.6.21
/usr/bin/time ./ebizzy -m -P
60.10user 137.72system 1:49.59elapsed 180%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555877minor)pagefaults 0swaps
/usr/bin/time ./ebizzy -m -P
59.73user 139.50system 1:50.28elapsed 180%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555878minor)pagefaults 0swaps
/usr/bin/time ./ebizzy -m -P
59.49user 137.74system 1:49.22elapsed 180%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555877minor)pagefaults 0swaps
2.6.21-rw_mutex
/usr/bin/time ./ebizzy -m -P
57.85user 124.30system 1:42.99elapsed 176%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555877minor)pagefaults 0swaps
/usr/bin/time ./ebizzy -m -P
58.09user 124.11system 1:43.18elapsed 176%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555876minor)pagefaults 0swaps
/usr/bin/time ./ebizzy -m -P
57.36user 124.92system 1:43.52elapsed 176%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+33555877minor)pagefaults 0swaps
Signature · 5 lines
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>