Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #453
| From | ittium <ittium@gmail.com> |
|---|---|
| Newsgroups | comp.programming.threads |
| Subject | Re: connection thread bottleneck due to contention on global data |
| Date | 2011-07-17 13:29 +0530 |
| Organization | A noiseless patient Spider |
| Message-ID | <ivu4pn$v2i$1@dont-email.me> (permalink) |
| References | <85f02a56-5aaa-4d6d-a4ef-5f880f3f67cc@j9g2000prj.googlegroups.com> <9dd621ba-95e6-4f14-988a-14b845b043c7@t8g2000prm.googlegroups.com> <ccc19ace-a4b4-4d4d-b6e6-fa1d31697ed5@x19g2000prc.googlegroups.com> <843b1342-f0e8-4173-b943-facfa075c203@a2g2000prf.googlegroups.com> |
> > Why do you think that will happen? All of your threads hold the mutex > for an insignificant fraction of their execution time, right? If > that's not so, then *that's* your issue. > Please read my earlier comment again, if more than one thread is waiting for a mutex then kernel can give the mutex to only one thread other threads will be asked to sleep (although for a very small time). It give me the impression that mutex should be avoided for data with moderate contention and should be used only when contention is really low.
Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
connection thread bottleneck due to contention on global data itt ium <ittium@gmail.com> - 2011-07-16 05:31 -0700
Re: connection thread bottleneck due to contention on global data David Schwartz <davids@webmaster.com> - 2011-07-16 11:49 -0700
Re: connection thread bottleneck due to contention on global data itt ium <ittium@gmail.com> - 2011-07-16 23:08 -0700
Re: connection thread bottleneck due to contention on global data David Schwartz <davids@webmaster.com> - 2011-07-17 00:00 -0700
Re: connection thread bottleneck due to contention on global data ittium <ittium@gmail.com> - 2011-07-17 13:29 +0530
Re: connection thread bottleneck due to contention on global data David Schwartz <davids@webmaster.com> - 2011-07-17 08:30 -0700
Re: connection thread bottleneck due to contention on global data itt ium <ittium@gmail.com> - 2011-07-18 00:43 -0700
Re: connection thread bottleneck due to contention on global data David Schwartz <davids@webmaster.com> - 2011-07-18 10:41 -0700
Re: connection thread bottleneck due to contention on global data frege <gottlobfrege@gmail.com> - 2011-07-20 22:18 -0700
Re: connection thread bottleneck due to contention on global data "Chris M. Thomasson" <cristom@charter.net> - 2011-07-17 16:43 -0700
Re: connection thread bottleneck due to contention on global data itt ium <ittium@gmail.com> - 2011-07-18 00:44 -0700
Re: connection thread bottleneck due to contention on global data "Chris M. Thomasson" <cristom@charter.net> - 2011-07-23 23:18 -0700
csiph-web