Re: Better choice for Linux semaphore than spinlock?
From: Krotil, Radek <radek.krotil_at_siemens.com>
Date: Tue, 4 Feb 2020 11:01:40 +0000
Hi All.
Siemens Digital Industries Software
On 2019/10/12 23:29:44, eponymous alias <e..._at_yahoo.com> wrote:
> > before the "system time" consumes all available CPU for an 8-core machine. Adding more cores won't help because of>
> > the nature of spin locks (it makes things worse). Turns out that even with ~100 parallel SVN operations the "system>
> > time" starts becoming significant/measurable (~10%). Both HTTP (mod_dav_svn) and "svnserve" protocols participate>
> > in the lock contention.>
> > information to even attempt a diagnosis. For starters, I recommend gathering as much info as possible (anonymised of>
> > course) about the server configuration, everything from httpd an svnserve to the repository config and underlying>
> > filesystem, if possible. Getting stack traces of the "stuck" threads would be necessary, too. Without knowing exactly>
> > what is happening, these kinds of problems are extremely hard to understand, let alone fix.>
> this use case can possibly be chosen via configuration changes (e.g. httpd allows this for most of its locking).>
-----------------
Důleľité upozornění: Tato zpráva má jen informativní charakter. Obsah této zprávy odesílatele nezavazuje a odesílatel nemá v úmyslu touto zprávou uzavřít smlouvu, přijmout nabídku, potvrdit uzavření smlouvy ani nezakládá předsmluvní odpovědnost jejího odesílatele, ledaľe je odesílatelem ve zprávě uvedeno výslovně jinak. Obsah této zprávy (včetně příloh) je důvěrný. Pokud nejste zamýąleným adresátem této zprávy, zpřístupnění, kopírování, distribuce nebo uľití obsahu zprávy je přísně zakázáno a v takovém případě, prosím, okamľitě informujte odesílatele a poté zprávu (vč. příloh) odstraňte z Vaąeho systému.
Important Note: This message is only of informative nature. The content of this message shall not be binding for sender and sender does neither intend to conclude contract, accept offer or confirm the conclusion of the contract by this message nor this message represents pre-contractual liability of the sender, unless the sender states in the message excplicitly otherwise. The content of this message (including appendices) shall be confidential. Should you are not intended receiver of this message, any access, copying, distribution or use of the content of this message is strictly prohibited and in such case, please immediately notify the sender and subsequently delete the entire message (including apppendices) from your system.
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.