CPU Licenses
The CPU license option ensures that a sufficient pool of licenses is available for an unspecified number of users connecting to a server to run your applications.
This licensing option provides for an infinite pool of available connections. The total number of user that can connect at any given time is ultimately constrained by the central processing unit (CPU) capacity to handle the connections. The CPU license is so called because it takes into account the number of cores/threads of the CPU to be licensed.
The number of physical or virtual CPUs (cores/threads) in the server where the product is installed must match the number encrypted in the license when verified by the license controller.
Determine the number of CPUs for licensing
fglWrt -a cpu
on the application server where the Genero runtime is installed, to
determine the exact number of CPUs (cores/threads) for licensing. If you are using the Four Js
License Manager, run the license manager command flmprg -a cpu
. The command returns
the number of cores/threads on the processor on your server.Cores and hyper-threading
- Cores describe the number of independent CPUs in a single physical multi-core processor.
- Some CPUs use hyper-threading to boost multi-tasking performance using threads. When a core uses hyper-threading, the operating system will treat the core as if it were two entirely separate CPUs. These are known as virtual CPUs.
Degraded Mode
-6180 CPU limit exceeded. The users control is reactivated.
When to use CPU licensing
- Large sites
- Large sites may potentially have many active users. CPU licenses are better suited than User licenses because they provide for an infinite pool of connections.
- Genero Browser Client (GBC) applications
- For GBC applications, detecting when the user has left the application or simply closed the
browser (as opposed to stopping the application by explicitly exiting it taking the appropriate
action) has implications for licensing. If the user closes the browser without exiting the
application, the DVM stays running and continues to consume a license. While the DVM will eventually
timeout, timeout configuration is not as critical to license management when CPU licenses are used. Tip:
We recommend that you read the examples given in the Licensing examples section of the Genero Application Server User Guide that show you how you can take advantage of ways of running applications and implementing GAS configurations so as to help you use licenses as efficiently as possible.
- Web services applications
- A Web Service consumes a license in the same way that a user does, with one notable difference. On reaching the available limit in the connections pool, Web services are queued rather than blocked as with users. However, the greater the number of connections you can allocate for the Web service pool, the greater the Web service throughput. This is why it is generally recommended to opt for CPU licenses for Web services.
- Logical Partition (LPAR) and Virtualization
- Where Genero is installed on LPAR or Workload Partitions (WPARs) using virtualization technology, such as that used on IBM® Advanced Interactive eXecutive (AIX®) systems, CPU licenses are recommended. In this case, you will need to provide the number of virtual CPUs allocated, not the number of physical CPUs in the server, to determine the exact number of CPUs for licensing.