1Z0-102 · Question #127
Use optimal ServerMBean.ThreadPoolPercentSocketReaders to improve socket performance when WebLogic servers:
The correct answer is B. Are using pure-java socket handling rather than native performance pack. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test…
Question
Use optimal ServerMBean.ThreadPoolPercentSocketReaders to improve socket performance when WebLogic servers:
Options
- AAre using native I/O performance pack
- BAre using pure-java socket handling rather than native performance pack
- CAre hosting high transaction-oriented operations
- DAre handling highly I/O bound operations
How the community answered
(61 responses)- A3% (2)
- B77% (47)
- C5% (3)
- D15% (9)
Explanation
Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.
Topics
Community Discussion
7ThreadPoolPercentSocketReaders matters most when you are on option B, pure-java socket handling, because the JVM thread pool handles socket reading directly and tuning that percentage lets you balance reader threads against worker threads for your specific load profile. With the native performance pack (option A), the OS handles socket I/O outside the thread pool, so the setting has far less leverage there.
Solid point, and the exam gotcha worth adding is that cranking ThreadPoolPercentSocketReaders too high in pure-Java mode quietly starves the writer side of that same thread pool, so you can end up with great consumer throughput numbers on your dashboard while producer latency is creeping up in the background.
ThreadPoolPercentSocketReaders is the knob that tells WebLogic how many of its general execute threads to reserve as "socket reader" threads, and that only matters when WebLogic itself is doing the socket reading in Java, so D is tempting because "I/O bound" sounds like exactly the situation where you'd tune I/O threads, but if you have the native performance pack running (option A), the OS handles socket reading on its own and this setting becomes irrelevant. The answer is B, pure-java socket handling, because that is the only mode where WebLogic's thread pool is actually doing the socket reads and ThreadPoolPercentSocketReaders has any effect to optimize.
The Oracle documentation for WebLogic Server is explicit on this point: ThreadPoolPercentSocketReaders is meaningful specifically when the server is operating with pure-java socket handling, because in that mode WebLogic uses threads from the execute thread pool to perform socket reads, so controlling what percentage of those threads are designated as socket readers directly affects I/O throughput. When native I/O performance pack is active, the native layer offloads socket reading outside the thread pool entirely, which makes tuning that percentage largely irrelevant. The distractor about high transaction operations sounds plausible but the Javadoc for ServerMBean ties the setting to the socket-handling model, not transaction volume. When I sat for 1Z0-102 I almost chose D because I was thinking about I/O bound workloads in general, but I remembered a paragraph in the Tuning Performance chapter of the Oracle Fusion Middleware Performance and Tuning for Oracle WebLogic Server guide that specifically contrasted pure-java versus native pack behavior for this attribute, and that sent me straight to B.
Think of it like assigning dedicated cashiers at a grocery store whose only job is to scan incoming items, where that designation only matters when every customer goes through a shared line, so the moment you install self-checkout kiosks that handle their own scanning completely outside the main register pool (your native I/O pack), deciding what fraction of your human cashiers should be "scan-only" stops mattering entirely, which is exactly the contrast the Tuning Performance chapter is drawing.
Going with D on this one and I feel pretty solid about it. The whole point of ThreadPoolPercentSocketReaders is to control how much of your thread pool gets dedicated to reading off sockets, and that lever only really matters when your server is sitting there waiting on I/O constantly, which is exactly what highly I/O bound operations do to a server. If your threads are mostly doing compute work and not blocking on socket reads, tuning this percentage moves the needle on almost nothing. The reason you bump this setting is because under heavy I/O load your reader threads get starved and requests pile up in the queue, so giving a larger slice of the pool to socket reading directly addresses that bottleneck. Native performance pack or not, high transaction volume or not, those are secondary considerations compared to the actual I/O profile of what the server is doing.
Aleksei, the card you want to burn into memory here is that ThreadPoolPercentSocketReaders is flagged as most impactful specifically under high transaction volume with the native transport, which is what B captures, because that combination is what saturates the reader allocation in practice. The I/O-bound framing you described is real but too broad, and the exam is testing the more precise trigger condition.