Skip to content
Advertisement

Tag: performance

JAX WS Server implementation performance issue for Linux JVM?

I’ve faced with a very weird problem. The built-in JAX WS server implementation works 100 times slower on linux machines then on Mac OS X or Windows. I’ve created and shared a JMH test: https://github.com/Andremoniy/linuxjvmjaxwstest Basically it does the following: starts a JAX WS with one SOAP method: endpoint = Endpoint.publish(“http://localhost:8888/”, new FooServiceImpl()); performs client requests to this method: String

is rmem_default size per socket or for entire stack?

Does setting the net.core.rmem_default effect each socket or all sockets opened in the system? What is the maximum value I can configure for the net.core.rmem_default parameter? I understand it depends on RAM. Assume I have much RAM available. Answer net.core.rmem_default is the size of the incoming kernel socket buffer per one socket. From man socket(7): SO_RCVBUF Sets or gets the

How does perf associate events to functions?

More precisely how does the perf tool associate PMU events to functions i already realized that when the kernel perf subsystem records the event counters it also records the Program Counter (PC) so it can associate the count to a function. However to really get fine grain result, you need to sample the counters in a very high rate, otherwise

Which perf events can use PEBS?

I want to understand which events can have the precise modifier on my CPU (Sandy Bridge). Intel Software Developer’s Manual (Table 18-32. PEBS Performance Events for Intel Microarchitecture Code Name Sandy Bridge) contains only the following events: INST_RETIRED, UOPS_RETIRED, BR_INST_RETIRED, BR_MISP_RETIRED, MEM_UOPS_RETIRED, MEM_LOAD_UOPS_RETIRED, MEM_LOAD_UOPS_LLC_HIT_RETIRED. And SandyBridge_core_V15.json lists the same events with PEBS > 0. However there are some examples of

Advertisement