Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490436
| From | Stas Sergeev <stsp@list.ru> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] signals: Avoid unnecessary taking of sighand->siglock |
| Date | 2016-09-23 22:30 +0200 |
| Message-ID | <skFgC-8uY-9@gated-at.bofh.it> (permalink) |
| References | <skBZo-6mq-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
23.09.2016 19:56, Waiman Long пишет: > When running certain database workload on a high-end system with many > CPUs, it was found that spinlock contention in the sigprocmask syscalls > became a significant portion of the overall CPU cycles as shown below. Hi, I was recently facing the same problem, and my solution was to extract swapcontext() from libtask - it has better semantic and does not do sigprocmask. How much you hack sigprocmask, it is still faster to just not call it at all. Alternatively, perhaps the speed-up can be achieved if the current mask is exported to glibc via vdso. Just my 2 cents.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] signals: Avoid unnecessary taking of sighand->siglock Waiman Long <Waiman.Long@hpe.com> - 2016-09-23 19:00 +0200 Re: [PATCH v2] signals: Avoid unnecessary taking of sighand->siglock Stas Sergeev <stsp@list.ru> - 2016-09-23 22:30 +0200 Re: [PATCH v2] signals: Avoid unnecessary taking of sighand->siglock Oleg Nesterov <oleg@redhat.com> - 2016-09-26 18:30 +0200
csiph-web