Questions tagged [contention]

Questions about any type of resource contention. Use in conjunction with the applicable tag such as [file-access], [memory] or [locking] to indicate the type of resource being referred to.

Questions about any type of resource contention. Use in conjunction with the applicable tag such as , or to indicate the kind of resource being referred to.

88 questions
0
votes
1 answer

Infinispan 9.4.16, JBoss EAP 7.3 Lock Contention with replicated-cache 2 nodes threads are TIMED_WAITING (parking)

I have an application that is currently relying on an infinispan replicated-cache to share a work queue across all nodes. The queue is pretty standard, with head, tail, and size pointers persisting in the infinispan map. We've upgraded from…
Aug
  • 21
  • 3
0
votes
1 answer

High contention on Jar file access in my Java application

We work on a JMS based application that receives messages in XML format from a JMS queue. The application is deployed on Weblogic server (12c). Having a rate of about 400-500 msgs/sec we are experiencing bad performance and accumulating backlog on…
0
votes
1 answer

Contention error when repeatedly updating a data entity with a foreach in c #

How is it possible to optimize the update of an entity, when this entity is updated many times per second by request of the server ?. The method used for the update is developed as follows: public async Task Update(T entity, string key) { …
Rancid
  • 3
  • 2
0
votes
0 answers

Test for W_OK passes, although file is open in excel - why, and how to test instead?

This little helper function writes results to an excel file. If the file already exists and the overwrite flag is set, the file should be overwritten if possible - that is when the file is not opened by any other application (Excel in this…
Christoph
  • 1,040
  • 3
  • 14
  • 29
0
votes
1 answer

How to handle row lock contention at application level

I have 2 applications (Spring - Hibernate with Boot) using same oracle database (11g). Both apps hit a specific table consistently and there are huge number of hits on this table. we can see row lock contention exceptions in the DB logs and…
Nikhil Surve
  • 3
  • 1
  • 2
0
votes
0 answers

Pthread policy in high contention applications

Anybody knows about how pthread behaves in high contention and low contention situations? As far as I know, there is a unix-base policy (SCHED_OTHER) for mutex handling which optimizes the execution time in terms of contention. I want to know when…
M R
  • 31
  • 5
0
votes
1 answer

GuavaCache expireAfterWrite() is causing too many blocked threads

We have a use case where our data is becoming stale after some time. Hence we chose expireAfterWrite cache eviction strategy. However this is causing too many blocked threads in threadpool. Any idea why this might be happening and if there is any…
Devanshi
  • 21
  • 4
0
votes
1 answer

Cortex-M4 Memory contention (DMA against program)

I am using STM32F4xx controller. I have utilized DMA to buffer UARTs (circular buffers). My concern is that if there will be a memory contention when my program accesses the same memory location at the same time as DMA. Can contention happen this…
alsaleem
  • 347
  • 3
  • 16
0
votes
1 answer

scheduling jobs to clustered quartz1.8.6 from non-cluster configured quartz scheduler instance

I'm using quartz 1.8.6 in clustered mode with 4 instances. Now, I observed high contention on table QRTZ_LOCKS. My application also provide webservices for online clients. This webservices also do scheduling of new jobs. Now, I see timeout…
0
votes
0 answers

Classloader contention on JAX-WS invocations in Weblogic

We are encountering many threads waiting behind the below thread which owns the ClassLoader lock as shown. This is happening on Weblogic 10.3.6 running on IBM JDK 1.7. I have considered swapping out the Weblogic JAX-WS implementation with a newer…
rudolfv
  • 797
  • 1
  • 9
  • 22
0
votes
1 answer

Reducing Disk I/O Rate of Containers

I have several Docker containers running a virtual machine, and I would like to uniformly throttle disk I/O throughput by say 20% across all containers without actually imposing any kind of stress on other resources (i.e. CPU) on the machine. I…
user3249763
  • 117
  • 3
  • 15
0
votes
1 answer

MySQL 5.6 Semaphore Contention row0purge.cc dict0dict.cc

Server Details MySQL 5.6.22 256GB RAM 4TB SSD 32 Core Background Information There is a delete process which does about 3 deletes per second. 2-3k QPS per second. Mostly SELECTs. No long running queries. Problem At times, queries start running…
MYoussef
  • 46
  • 7
0
votes
3 answers

MSXML XSL Transformation multithreaded performance contention

I have a multithreaded server C++ program that uses MSXML6 and continuously parses XML messages, then applies a prepared XSLT transform to produce text. I am running this on a server with 4 CPUs. Each thread is completely independent and uses its…
Carlos A. Ibarra
  • 6,002
  • 1
  • 28
  • 38
0
votes
3 answers

.NET - Reducing GC contention on array creation

I have some code that deal with a lot of copying of arrays. Basically my class is a collection that uses arrays as backing fields, and since I don't want to run the risk of anyone modifying an existing collection, most operations involves creating…
DukeOf1Cat
  • 1,087
  • 15
  • 34
0
votes
2 answers

GAE Datastore Contention Issue

Our GAE app makes a local copy of another website's relational database in the NDB. There are 4 entity types - User, Table, Row, Field. Each user has a bunch of tables, each table has a bunch of rows, each row has a bunch of fields. SomeUser >…
Neil
  • 3,100
  • 5
  • 29
  • 36