EN
Fujitsu logo
Official user manual

Fujitsu Dot Matrix Printer (68)

68 pages·2.1 MB·Credit Card Machine·PDF·ENDEFRITNLJA
Fujitsu Dot Matrix Printer (68)
Table of Contents 48 sections PRIMERGY · Windows Terminal Server · Microsoft Terminal Services 2003 · Citrix Presentation Server · … ShowHide
Page 2 of the Fujitsu Dot Matrix Printer (68) user manual — PRIMERGY
Page 2 · click to enlarge
Page 2
Fujitsu Dot Matrix Printer (68) — PRIMERGY diagram (page 2)
Fig. 1

PRIMERGY

All readers who have not yet heard of the name PRIMERGY should first give a small overview: since 1995, PRIMER GY Server has been the brand name for the very successful industry standard server family from Fujitsu Siemens Computers. It is a product line developed and produced by Fujitsu Siemens Computers, with systems for small workgroups up to solutions for large companies.

Scalability, Flexibility & Expandability From the small monoprocessor system to systems with 16 processors, the PRIMERGY family uses the latest technologies. At the heart of this are Intel processors in top performance class. Multiple 64-bit PCI X I/O and memory buses, fast RAM and high performance components such as SCSI technology and fiber channel ensure a high data throughput. This means full of performance, whether for scaling-out or scalping-up. The scaling-out method, which achieves more performance through a variety of individual individuals according to the Ant State model, ideally allows for blade servers and compact compu node systems. For the scale-up method, i.e. Upgrading an existing system, the extensive expansion possibilities of PRIMERGY systems provide up to 16 processors and 128 gigabytes of memory. PCI and PCI-X slots provide the necessary expandability of I/O components. Long-term planning in close cooperation with well-known suppliers of components, such as Intel, LSI and ServerWorks ensure continuous compatibility from one generation to the next. PRIMERGY planning extends two years into the future and guarantees that the latest technologies are included as early as possible.

Reliability & Availability In addition to performance, quality is the main focus. This includes not only excellent processing quality and the use of high-quality individual components, but also precautions for failsafety, early fault diagnosis and data protection. Important system components are redundantly designed and monitored by the system for functionality. Many parts can be easily replaced on the fly, so that downtime is minimized and availability guaranteed.

Security Your data is sacred to PRIMERGY. Data loss protection is provided by powerful disk subsystems from the PRIMERGY and FibreCAT product lines. Even higher, maximum availability is offered by PRIMERGY cluster configurations in which not only the servers but also the disk subsystems and all cabling can be redundantly designed.

Managability Comprehensive management software for all phases of the server lifecycle ensures smooth operation and facilitates maintenance and error diagnosis of PRIMERGY.

ServerStart, a user-friendly menu-based software package for optimal installation and configuration of the system with automatic hardware recognition and installation of all necessary drivers.

ServerView for server monitoring with alarm, threshold, reporting and base management, prefailure detection and analysis, alert service and version management.

RemoteView for remote maintenance and diagnosis via LAN or modem, independent of the hardware and operating system.

Further detailed information about the PRIMERGY systems can be found on the Internet at http://www.primergy.de/

Page 3 of the Fujitsu Dot Matrix Printer (68) user manual — Windows Terminal Server
Page 3 · click to enlarge
Page 3

Windows Terminal Server

Terminal Server is a generic term for server-based computing based on Microsoft® Windows® Server operating systems.

Fujitsu Dot Matrix Printer (68) — Windows Terminal Server diagram (page 3)
Fig. 2 · Windows Terminal Server

Server-based computing is a system architecture where Microsoft Windows client applications are 100 percent installed and running on the server. From there, not only is their use done but also their maintenance, administration and support take place directly on the server. Only the user interface, i.e. The screen, mouse and keyboard information is transmitted between the client and server. The user can thus access Windows applications immediately from almost any client, including non-Windows based clients, via such a terminal server without the respective applications having to be first transferred to the client, started there or even stored on local mass memories. If a client is used exclusively in this server-based scenario, it has much lower requirements with regard to storage and disk equipment than a traditional client; therefore, one also speaks of so-called thin clients.

Reduction of TCO by recentralization

Rapidly increasing operating costs (total cost of ownership) are among the biggest problems in companies’ IT environments today. Previously, when setting up a company-wide IT system, priority was given to acquisition costs rather than follow-up costs. However, according to analysts, the acquisition cost — which is undoubtedly a significant one-off investment — only accounts for 15 percent of the total costs of an enterprise-wide IT solution. Therefore, today the focus is more on ongoing costs.

The concept of server-based computing helps to reduce these costs by recentralizing applications and data. It has been recognized that it is more effective to deploy applications and hardware and software maintenance from a central location throughout the enterprise in a client-server architecture, rather than at each individual workplace. Server-based computing can significantly improve productivity and efficiency for both end users and system administrators. According to analysts, server-based computing can reduce IT operating costs by 30 to 50%.

A terminal server can be used in principle for all types of applications. Where previously small computers or terminals for simple data input, i.e. With the Terminal Server, modern applications can be integrated into an existing environment. But even in environments where an individual user already needs higher computing or graphic performance, the terminal server offers the advantage of centrally deploying applications.

Operational area

Page 4 of the Fujitsu Dot Matrix Printer (68) user manual — Microsoft Terminal Services 2003
Page 4 · click to enlarge
Page 4

The concept of server-based computing, which has long been known by mainframes, entered the Windows world in 1994. First, the US-based software house Citrix developed a multiuser extension for Microsoft Windows NT 3.51, which was sold under the name “WinFrame” as an overall product of Windows N T and Multiuser expansion. In 1997, Microsoft licensed the so-called “Citrix MultiWin Technology” and thus part of Citrix’s NT operating system extension from CitriX to incorporate it into its product Windows NT 4.0 Terminal Server. Since 2000, this technology has been firmly established in all server products of the Microsoft Windows 2000 ServerTM and Windows Server 2003 product lines under the name “Terminal Services”. Even in the Windows XP Professional client operating system, a limited number of terminal services are available under the name “Remote Desktop”. From any Windows client, the remote system can thus be accessed, with applications running completely on the remote System. The underlying protocol is called the Remote Desktop Protocol (RDP).

Since Windows 2000 Server, Terminal Server offers extensive functionalities, here are just some of the most important:

  • 32-bit clients for Windows based PCs
  • 16-bit client for Windows for Workgroups
  • Windows CE-based thin client
  • Windows XP Embedded-based thin client
  • Microsoft ActiveX® Control
  • Data exchange of text and graphics via the clipboard between client and server
  • Providing local parallel and serial interfaces of the client within the server-based application
  • Print on local printers at the thin client
  • Access to local client drives within the server-based application
  • Bitmap caching for performance enhancement
  • Client connection via local area network (LAN), wide area network(WAN), dial-up, integrated services digital network (ISDN), x digital subscriber line (xDSL) and virtual private network (VPN).
  • Encryption of client communication

Microsoft Terminal Services 2003

Windows Server 2003 Terminal Services offer further improvements compared to the previous version in Windows 2000 Server. Here are some of the most important ones:

  • Optimized resource management, so that Windows Server 2003 can now support more users on the same hardware than under Windows 2000 server.
  • Windows Server 2003 Enterprise Edition and Datacenter Edition offer a session directory, allowing you to build up a terminal server farm with load balancing.
  • Improved Manageability through Group Policies, Windows Management Instrumentation (WMI).
  • Use of Windows Server 2003 extensions such as Software Restriction Policies, Roaming Profile Extension and new Windows application compatibility modes.
  • Support for other local devices, such as smart cards and audio output within the server-based application
  • Color depth up to True Colour (24-bit)
  • Screen resolution up to 1600 x 1200
  • Individual time zones per user

The terminal services are part of the respective operating system and therefore available in the Windows 2000 Server and Windows Server 2003 as 32-bit versions, and in the case of Windows Server 2004 x64 Edition as 64-bit.

Show 6 more labels / short text on this page
History · Supported Clients · Client Properties · Communications · Server Property · Client Features
Page 5 of the Fujitsu Dot Matrix Printer (68) user manual — Citrix Presentation Server
Page 5 · click to enlarge
Page 5

Citrix Presentation Server

Fujitsu Dot Matrix Printer (68) — Citrix Presentation Server diagram (page 5)
Fig. 3 · Citrix Presentation Server

As an extension of the basic terminal services in Windows, Citrix offers meaningful additions with its product family “Citrix Presentation Server for Windows” (hereinafter referred to as “CITRIX Presentation server”). The current version is "Citrix Presentation Server 4.0 for Windows". The previous versions have become known under the product name “Citrix MetaFrame”.

Fujitsu Dot Matrix Printer (68) — Citrix Presentation Server diagram (page 5)
Fig. 4 · Citrix Presentation Server

To meet the needs of different companies, there are three different product variants of Citrix Presentation Server:

  • Citrix Presentation Server, Standard Edition Application Delivery for Smaller Enterprises
  • Citrix Presentation Server, Advanced Edition Application Delivery with Load Balancing for Medium Enterprises
  • Citrix Presentation Server, Enterprise Edition Application Delivery with Load Balancing for Larger Multi-Site Organizations

The main enhancements of Citrix Presentation Server over Windows Terminal Services are:

  • Published Applications, Seamless Windows Direct launch of a server-side application without starting a Windows desktop. Direct access to individual applications.
  • An integrated load balancing system ensures the automatic, load-specific distribution of users to each terminal server on a Terminal Server farm. Load balancing is included in Citrix Presentation Server Advanced Edition and Enterprise Edition, no additional software is required for this. A very fine and individual setting of the load balancing criteria can be carried out, in particular terminal server-specific parameters can also be selected.
  • Support for heterogeneous clients Even non-Windows based clients can access server-provided applications through the operating system independent Independent Computing Architecture (ICA) protocol. In addition, Citrix offers 16-bit clients for older versions of Windows and Microsoft MS-DOS® as well as clients for UNIX, Macintosh, Java and a browser client.

The versions “Citrix MetaFrame XP”, “CITRIX MetaFRAME Presentation Server 3.0” and “CItrix Presentation server 4.0” only run on a 32-bit Windows operating system. For Windows x64, the Citrix Presentation Server for Windows Server 2003 x64 is used, which corresponds functionally to the 32-bit version of Citrux Presentations Server 4.0.

In the following, the performance-relevant functions of “Citrix Presentation Server 4.0” are briefly characterized compared to the previous version 3.0.

Servers · Supported Clients

Page 6 of the Fujitsu Dot Matrix Printer (68) user manual — Citrix Presentation Server
Page 6 · click to enlarge
Page 6

Citrix Presentation Server 4.0

Citrix Presentation Server 4.0 contains some new features that can influence performance.

The first two features are essentially for application compatibility.

Application isolation enables an isolated installation and workflow environment for applications, with the aim of mutual interference by e.g. Registry settings, configuration files etc. exclude. This is advantageous for keeping different versions of an application on a terminal server, or “old-load” applications that would otherwise not be executable in a multi-user environment. This feature is realized by a virtualization layer for registry settings, file system and named objects e.g. Semaphores, sections etc. on which the application is installed. The Citrix Presentation Server then takes over mapping from virtual resources to physical resources of the operating system. It is possible to install the application already in an isolated environment or even only have a published application run in an insulated environment. The latter is useful if the application cannot run in a multi-user environment.

Virtual Address Support supports applications that require one unique IP address per session.

The goal of Virtual Memory Optimization is to save space by resolving conflicts when loading DLLs not through “relocation” but rather through “Rebasing”. "Relocation" means that the DLL is not loaded to the base address in the image, but into another part of the virtual memory and all addresses used in the DlL must be converted relative to the basic address. Using the DLL by several applications thus also results in multiple loading into the virtual memory. “Rebasing” means creating a shadow copy of the DLL file containing an optimal (conflict-free) virtual base address. This means that a “rebased” object only needs to be loaded once, even if it is used by several applications.

The “rebasing” of DLLs thus leads to savings in virtual storage space consumption. The extent to which the memory requirements are reduced is highly dependent on application. In addition, this feature does not work for all applications, e.g. Applications whose DLLs are protected by Windows Rights Management or have digitally signed components cannot be rebased. Such applications can be excluded from the optimization process by means of an exclusion list.

Virtual Memory Optimization is accomplished through a monitor process that determines where DLL relocation occurs and logs it in your file.

At times to be specified by the administrator, a process is then activated which reads this file and performs “rebasing” of the corresponding DLLs.

In addition to the “rebasing” there is also the “binding” of DLLs, i.e. in the DLL "import section" the virtual loading address of the imported functions is entered immediately. In this way, CPU time is saved when initializing the application.

Application isolation · Virtual Address Support · Virtual Memory Optimization

Page 7 of the Fujitsu Dot Matrix Printer (68) user manual — Citrix Presentation Server
Page 7 · click to enlarge
Page 7

The “CPU Utilization Management” serves to distribute the CPU performance evenly among existing users in order to compensate for peaks in a server’s CPU usage and therefore enable more users per server.

The actual performance gain is very dependent on the application load.

When CPU Utilization Management is activated, each user gets the same amount of time allocated to them. In this way, it is intended to prevent a user who uses the CPU particularly intensively from disadvantaged other users. If a user does not fully use his or her available portion of CPU power, the other users can take advantage of this performance. It is also possible to assign a user a higher proportion of CPU power relative to the other users. It is also possible to allocate a fixed portion of the computing power, independently of the total load, to a user.

Unfortunately, there is no graphical user interface for managing the user-specific CPU allocation and settings are made via appropriate “registry settings”.

The corresponding CPU allocation is realized via processes that monitor the user's CPU consumption and then influence the scheduler through operating system calls.

Support for Windows Server 2003 x64 Edition

Citrix supports Windows Server 2003 x64. With the 64-bit version of Windows, various limitations of 32-bit can be overcome. Thus, e.g. under the 64-bit operating system, kernel resources are sufficiently dimensioned; an example is the non-paged pool with 128 GB which could already become a bottleneck under 32-bit Windows due to its small size (256 MB) (cf. also chapter Usable memory. Also under the 32-bit operating system, Citrix Presentation Server version 4.0 offers advantages over the previous version, as certain pages that were previously assigned to the “non-paged pool” are now assigned to a “paged swimming pool”.

A new Universal Print Driver promises up to four times improved printing speed with reduced memory and bandwidth usage.

CPU Utilization Management · Improved printing

Page 8 of the Fujitsu Dot Matrix Printer (68) user manual — Scaling
Page 8 · click to enlarge
Page 8

Scaling

Scaling – the process of adapting the system to the required performance – distinguishes two methods:

Fujitsu Dot Matrix Printer (68) — Scaling diagram (page 8)
Fig. 5 · Scaling
Fujitsu Dot Matrix Printer (68) — Scaling diagram (page 8)
Fig. 6 · Scaling

Both scenarios, both scale-up and scale-out, are supported by Terminal Server.

In the case of scale-up, the performance of a terminal server is increased by using more powerful hardware, i.e. in particular computing power and memory. This scaling process is limited by the maximum size of a server system.

Theoretically, you need “only” any powerful hardware and would get in the scale-up scenario an arbitrarily capable terminal server. Unfortunately, this is only theory. Thus, the scaling with increasing number of processors is linear only in an ideal case for an optimally parallelizable application. However, the more accesses to common resources such as memory, hard disks or network take place and thus require coordination between the processors, the greater the flattening curve. In extreme cases, with a very large number of processors and a very high coordination component of the processors apart from one another, there may even be an “overturn” in the scaling. This is also called "Amdahl's Law", according to Gene Amdahl, who examined it in 1967 and put it into a mathematical model.

Fujitsu Dot Matrix Printer (68) — Scaling diagram (page 8)
Fig. 7 · Scaling
Fujitsu Dot Matrix Printer (68) — Scaling diagram (page 8)
Fig. 8 · Scaling

Designers of large multiprocessor systems counteract this by setting aside big caches for processors or forming groups of processors and assigning these to their own memory and I/O components.

In practice today often not the hardware sets the limits, but the software architecture. The software in the 32-bit design that is used most often today can often no longer fully use the available hardware. In particular, there are limitations in the addressing of the main memory by which 32-bit applications are limited to 4 GB virtual address space. If the server is physically equipped with more than 4 GB of memory, this storage cannot be used effectively for most cases. Due to the dependence between memory and processing power, many applications cannot exploit the computing power provided by modern systems with 8 or 16 CPU sockets.

Also for terminal servers, there is a limit from which a scale-up no longer shows the desired performance increase. This can be seen in today's 32-bit Windows Server 2003 with a 4-way system with 4 GB RAM. Therefore, terminal server environments were classic scale-out scenarios. With 64-bit operating systems and 64-Bit applications, these limits are overcome, so many customers today face the question of whether the new 64- bit world is a solution to the previous bottlenecks. See the chapters "Computing Performance", "Work Memory" and "Operating System".

Scale-up

Page 9 of the Fujitsu Dot Matrix Printer (68) user manual — Scale-out
Page 9 · click to enlarge
Page 9

Scale-up is an adequate scaling method when a manageable number of users are to be used (cf. Chapter “Resume” If a larger number of users from several hundred or thousands are to be operated with terminal servers, the scale-up scenario can no longer be used and other mechanisms are required to increase the performance of a terminal server.

The scale-out scenario follows a different path than the scale-up. Instead of always enlarging a server, scale-outs bring many servers together into one group. We also talk about server farms.

This concept can easily overcome the limitations that a single terminal server requires due to its software architecture. Scaling is not ideally linear even for a server farm, because analogous to Amdahl's law in multiprocessor systems there are also overheads through internal communication in a server Farm. However, this is usually lower than in large multi-processor systems.

In the scale-out you can distinguish three variants:

Just a Bunch of Servers

»Just a Bunch of Servers« is a loose collection of servers, in our case terminal servers. These terminal servers are assigned dedicated user groups or applications, but there is no information exchange and load balancing among the terminal server.

Fujitsu Dot Matrix Printer (68) — Scale-out diagram (page 9)
Fig. 9 · Scale-out

The advantage of this architecture is the very simple extensibility. The disadvantage is that no automatic load balancing between the individual servers takes place, so that computing power remains unused depending on the allocation of users to the servers. The administrative effort is quite high, as each system must be managed separately.

Nevertheless, this variant of the scale-out is used in practice in smaller configurations.

A terminal server farm is an association of terminal servers that have a common management unit called the Data Store. These are administered together. The assignment of users to servers and applications is usually static, a load balancing is not necessarily used. The advantage over the “Just a Bunch of Servers” variant is simplified administration. However, redundancy and automatic load balancing are not provided.

Fujitsu Dot Matrix Printer (68) — Scale-out diagram (page 9)
Fig. 10 · Scale-out

This variant of the scale-out is also very frequently used in practice.

Scale-out · Server farm

Page 10 of the Fujitsu Dot Matrix Printer (68) user manual — Scale-out
Page 10 · click to enlarge
Page 10

In a load-balanced server farm, the individual terminal servers are combined into one logical unit. If a client initiates a session, it is delegated by a load balancer to the server with the lowest current utilization according to certain mechanisms.

Fujitsu Dot Matrix Printer (68) — Scale-out diagram (page 10)
Fig. 11 · Scale-out

The essential basis for load balancing terminal servers is to maintain a session list. Terminal Server allows a connection between client and server to be disconnected, but the session on the terminal server continues. If the client reconnects to the terminal server farm, this session list must be used to ensure that it is connected back to “its” existing session and not due to load balancing to another terminal server in the farm which currently shows the lowest utilization. A shift of sessions between the individual members of the farm is not supported by Terminal Server.

In addition to distributing user connections depending on the load, the method of the load-balanced server farm also offers a certain redundancy. If a terminal server fails, the users can be served by other members in the server farm. In the case of dedicated terminal servers in the “Just a Bunch of Server” scenario, when one terminal server fails, no more terminal server services are available to assigned clients. However, a load-balanced server farm does not offer any reliability for the individual client sessions. If a terminal server fails during ongoing operation, all sessions active on this terminal server are lost.

Large terminal server farms, which can also extend over several locations, are often found in enterprise environments.

Scale-out with Terminal Server

The individual versions of Terminal Server differ in terms of their scale-out capabilities.

Windows 2000 Server Terminal Services Does not support a session list. A server farm with load balancing cannot be realized without additional software such as Citrix Presentation Server.

Windows Server 2003 Terminal Services Supports a session list in the Enterprise and Datacenter editions. Load balancing can be done either with Windows Network Load Balancing (NLB) or with dedicated 3rd-party load balancers, such as F5 Network BIG-IP.

Citrix Presentation Server Advanced Edition and Enterprise Edition Support a session directory and offer its own very flexible load balancing, which is specifically designed to meet the needs of Terminal Server.

Load-balanced server farm

Page 11 of the Fujitsu Dot Matrix Printer (68) user manual — Users
Page 11 · click to enlarge
Page 11

Dimensioning

For central administration reasons, terminal servers are now used in a wide range of tasks. Not only for tasks where previously small computers or terminals are used to enter data easily. - Query were used, but also in environments where a single user quite needs the computing or graphic performance of a dedicated PC.

Before every implementation of an application server, the same question always arises: Which is the right hardware for the required task? Of course, you want to have the best possible system that is neither too small for requirements nor (for cost reasons) totally oversized. So the question is: how do you find a well-dimensioned system?

The only parameter that is usually available is the number of users who should work with the system. The typical question that usually arises is:Which PRIMERGY model is needed for a terminal server to support a certain number of users?«. Ideally, one would expect a handy table as an answer from which the ideal PRIMERGY system can be read directly from the second column based on the number of users in one column. Unfortunately, there is no such table – even if some competitors suggest this to the customer with colorful web pages. The answer to the seemingly simple question is much more complex, because it contains a great unknown and that is the Users. A user, although many may wish to do so, is not a standardized and predictable size but an individual with different work paces and working behavior. In addition, there are different work tasks that result in different requirements for a computer system. A user whose task consists of queries to a stockkeeping system will generate a different load on a computer system than a user who is responsible for designing a graphical advertising brochure.

Users

In order to meet the different application scenarios and users while still achieving a standardization, user groups are defined. In addition to the authors of Sizing Guides, market research institutes also deal with this topic. The classification made by the Gartner Group is probably one of the most common in the IT industry (source »TCO: A Critical Tool for Managing IT« GartNER Group, October 12, 1998). It defines a large number of user groups:

uses computer to create products utilizes highly specialized applications High performance worker engineers, graphic designers and programmers use computer to collect data from different sources utilizing a mix of office and specialised decision support applications Knowledge Worker

Analysts, consultants and project manager essentially a knowledge worker, however location independently uses a mix of office applications Mobile Worker

Analysts, consultants and project manager use computer to handle recurring tasks in a production process using a mix of office and enterprise applications

Personnel, customer service and helpdesk Utilizes the computer to enter data usually only uses one application Data Entry Worker

Ordering, receipt of goods and administrative tasks

For applications based on terminal servers, not all user groups are relevant. The group of high-performance workers typically uses dedicated workstations; and mobile workers use applications locally on their mobile workplaces. If these user groups need terminal server applications in addition to their local workstations, they can be assigned to the Knowledge Worker group.

Process Worker

Page 12 of the Fujitsu Dot Matrix Printer (68) user manual — User simulation
Page 12 · click to enlarge
Page 12

However, Gartner’s classification of users and grouping says nothing about the actual activity – specifically which application users use for a particular group and with what intensity. In particular, the work speed, i.e. how quickly a user enters text or reacts to dialogs of the application, plays an important role. Taking this into account, you can define three user classes based on Gartner, which are usually referred to as Heavy, Medium and Light:

uses several different applications simultaneously, returns data moderately fast and performs more complex operations

works at a time intensively with an application gives quickly lots of data in continuously working

working at a time only with an application gives little data longer breaks between inputs

Light Data Entry Worker

User simulation

In power measurements, real users are generally not used; rather, the users are simulated with computers, so-called load generators and special software. In this case, a physical load generator usually simulates a plurality of logical users so that depending on the load generator several tens or hundreds of users can be simulated. The following figure shows a typical simulation environment.

Fujitsu Dot Matrix Printer (68) — User simulation diagram (page 12)
Fig. 12 · User simulation

The controller is the central control console that controls and monitors simulation. The latter is connected to the load generators via a simulation network. Each load generator can simulate a wide variety of users. The load generators reach the test system (System under Test (SUT)) via a second network, in which there is also an infrastructure server. This provides the necessary services to SUT, but it is not itself measured.

Different user groups, as discussed above, are usually taken into account by load simulators through different load profiles, also called script in the terminal server environment.

User simulation distinguishes between the terms “load generator”, “client” and “user”. In the following, the hardware is referred to as a "load generator". A “client” is the terminal server client, one or more of which are executed on the load generator. A simulated “user” operates within a terminal server session.

Heavy Knowledge Worker · Medium Process Worker

Page 13 of the Fujitsu Dot Matrix Printer (68) user manual — User simulation
Page 13 · click to enlarge
Page 13

For terminal servers, there are various tools for simulating load. Some of the most famous are:

Terminal Server Scalability Planning Tool

  • A Microsoft load simulator suite (<a href="http://www.microsoft.com" rel="nofollow noopener" target=" blank">httP://www,micosoft.co.uk</a>) which is part of the Windows Server 2003 Resource Kit.
  • Works only with Microsoft Terminal Services.
  • Modifies the RDP client to simulate user input.
  • Simulation of mouse inputs is only possible to a limited extent.
  • Modifiable scripts for load profiles are supplied, which require a complex test scenario and include not only terminal servers but also back office services such as Exchange and SQL in the test.
  • A maximum of 20 users can be simulated with a load generator.
  • For surveying load-balanced terminal server farms only conditionally suitable.
  • CSTK
  • A free load simulator from Citrix (<a href="http://www.citrix.com/cdn" rel="nofollow noopener" target=" blank">htt p://www
  • Works only with Citrix Presentation Server, as it supports ICA protocol.
  • The actual simulation of the input data is not carried out on the load generator (client), but rather on the server.
  • Only simulation of keyboard inputs possible.
  • The outputs of the Terminal Server Session are not checked for correctness.
  • Scripts for load profiles are supplied, but they cannot be changed and viewed.
  • Custom scripts must be created manually and with the help of a paid 3 rd - party tool.
  • Produces load, but does not detect response times of individual actions; only the total runtime for a complete script is measurable.
  • CSTK is unstable and cannot be used for high-performance server systems. The measurement results are not reproducible. Useful as test tools but not suitable for measurement.
  • Unsuitable for surveying load-balanced terminal server farms.
  • CitraTest
  • A commercial product of the upper price range from Tevron (<a href="http://www.tevron.com" rel="nofollow noopener" target=" blank">httP://www,tevRON.com</a>).
  • Can be used for both Microsoft Terminal Server and Citrix Presentation Server.
  • The simulation tool runs exclusively on the client without modifying the client and server.
  • Keyboard and mouse inputs are simulated.
  • The outputs of the Terminal Server Session can be checked for correctness.
  • No scripts for user simulation are supplied.
  • Tool-supported creation of custom scripts possible.
  • Approximately only 5 to 10 users can be simulated on a load generator.
  • Suitable for surveying load-balanced terminal server farms.
  • Is a commercial product of the upscale price range of Mercury Interactive (<a href="http://www.mercuryinteractive.com" rel="nofollow noopener" target=" blank">httP://www,mercuriesinteractives.com</a>).
  • Supports Citrix Presentation Server only, but not Microsoft Terminal Server.
  • The simulation of the inputs is carried out by means of a modified ICA client.
  • Text and mouse inputs are simulated.
  • The outputs of the Terminal Server Session are checked for correctness.
  • Tool-supported creation of custom scripts possible.
  • Unsuitable for surveying load-balanced terminal server farms.

As the listing shows, many of these load simulators are unfortunately very specialized and not universally available and unrestricted. Some can only work with a specific version of the terminal server, others cannot model the user to be simulated and some may falsify the measurement result by additional components of the simulation software on client or server.

LoadRunner for Citrix

Page 14 of the Fujitsu Dot Matrix Printer (68) user manual — Comparability
Page 14 · click to enlarge
Page 14

Comparability

Unlike other benchmarks, where there is a benchmark from the manufacturer of the application or an independent body and corresponding regulations for implementation, such as e.g. For Microsoft Exchange Server, SAP R/3, SPECweb or TPC-C, there is no standardized and accepted benchmark for terminal servers.

While there are various load generators that also come with predefined load profiles, as is the case for Microsoft’s Terminal Server Scalability Planning Tool and Citrix’s CSTK, there is a lack of regulations regarding measurement environment, performance of measurement and standardization of load profile, so this scope has led each manufacturer to determine different results. Another shortcoming is the fact that there is no standardized tool with which both Microsoft and Citrix terminal servers can be measured and compared.

The results of such performance measurements by different manufacturers or benchmark laboratories are, of course, not comparable under these conditions. Only measurements carried out in the same environment and with the same load profile can also be compared meaningfully. Therefore, Microsoft and Fujitsu Siemens Computers have worked together to compare the results of their two measurement tools on the same PRIMERGY hardware. The differences in the results of Microsoft Terminal Server Capacity and Scaling tools and Fujitsu Siemens Computer T4US tool are discussed in detail in the chapter Comparison of Measuring Tools.

Furthermore, it should be noted that performance measurements are carried out in idealized laboratory environments rather than real production environments. Although an attempt is made to replicate these as realistically as possible, not all customer-specific circumstances can be taken into account.

Although the unit of many performance measurements is “number of users per server”, one should consider the results of performance measurement primarily relatively, for example “a system A is twice as powerful as a system B” or “the doubling of memory results in x% increase in power”. As already explained in the chapter “User”, a user is difficult to quantify, and a synthetic user does not have to correlate with a real user in all cases.

This version is version 3.x PRIMERGY Terminal Server Sizing Guide. Between each output, the conditions have changed fundamentally so that unfortunately the absolute user numbers mentioned in previous documents cannot be compared with one another. On the one hand, there was a generation change in the operating systems and terminal servers; on the other hand, unfortunately, the measurement methodology had to be adapted to the changing requirements of the IT landscape. Thus, e.g. the load simulation tool used for version 2.0 of the Sizing Guide has serious weaknesses with regard to stability and reproducibility of results, so that only a monoprocessor system could be measured given today's performance capability of PRIMERGY servers (cf. Chapter "User Simulation". In order to be able to compare with older PRIMERGY systems, some processors of older PRImerGY servers were also included in the measurement series for this output so that conclusions can be drawn about the performance between older and current PRIMER GY server (cf. Chapter "Processor type".

It has been found that many measuring tools, e.g. CSTK, compared to reality too high user numbers deliver. One reason for this is that no user logs on or off during the entire measurement phase. In our new measurement series, we have taken this into account and can therefore assume that the user numbers determined are close to those from real production environments.

Nevertheless, it should be noted that the Terminal Server Sizing measurements are evaluations in a simplified, idealized and standardised environment to create comparable conditions for all systems. Additional components and programs are not installed, and the terminal server is loaded to its performance limit. In reality, you will have additional software installed such as a virus scanner or operate further add-ons from Citrix Presentation Server or components from the CitriX Access Suite for which computing power must be available. The terminal server should not be loaded to its performance limit in normal operation.

It has also been found that the number of users per terminal server can double or halve simply by slight modifications to the user profile with regard to input speed. The results of these investigations can be found in the chapter "Input speed".

Page 15 of the Fujitsu Dot Matrix Printer (68) user manual — “Tool for User Simulation”
Page 15 · click to enlarge
Page 15

“Tool for User Simulation”

For the reasons discussed in previous sections, Fujitsu Siemens Computers decided to develop its own load simulator that has none of these disadvantages and can simulate any user profile regardless of the terminal server used and without affecting the system under test.

T4USTool for User Simulation is a flexible tool that can simulate any terminal server-like scenario, regardless of the operating system used and user software, and performs detailed measurements of response times and loading of various system components.

User activities can be performed using the recording tool. T4US record recorded in real time. This includes keyboard and mouse inputs, the times between individual inputs as well as screen output. All actions are readable in a T4US script Filed under. In the simulation, these recorded input data are simulated with identical time behavior and the screen outputs compared to those recorded. The simulation runs can be reproduced at any time. Various T4US scripts can be combined with each other so that any load profiles can also be compiled from the recording of different user activities. If the load profiles are to be adapted to different environments or used for a plurality of users at once, parts can be adjusted using variable parameters such as user name, server name, domain name etc. parameterization without influencing the time behavior.

Fujitsu Dot Matrix Printer (68) — “Tool for User Simulation” diagram (page 15)
Fig. 13 · “Tool for User Simulation”

The T4US load simulator consists of three components. T4US control It is the central control console. The entire simulation run is controlled and monitored centrally via a graphical interface. All measured values are already determined during the measurement and transmitted via a separate LAN, the simulation network, from the load generators to the control console and collected there. The values can be evaluated automatically during the measurement and thus used for dynamic control of the measuring run.

Fujitsu Dot Matrix Printer (68) — “Tool for User Simulation” diagram (page 15)
Fig. 14 · “Tool for User Simulation”
Page 16 of the Fujitsu Dot Matrix Printer (68) user manual — “Tool for User Simulation”
Page 16 · click to enlarge
Page 16

On each of the load generators, several instances of T4US playback. Each T4US playback “feeds” a terminal server client in real time with keyboard and mouse input based on the scripts recorded using T4 US Record, monitoring the screen content of the terminal server customer. Synchronization is performed on the basis of screen contents; the script waits until the expected screen content has appeared completely. High-resolution timers determine the response time of the terminal server. Synchronization is particularly important for a reliable measuring tool, since this prevents incorrect input and only makes the reaction time of the terminal server clear and measurable.

Each instance of T4US playback can have any script so that a mix of different user groups and asynchronous user behavior can be simulated. The load generators are connected to each of the T4US agent, responsible for communication with the controller, controls and monitors T4US playback instances and transmits the response times to the controller.

With T4US, the entire load simulation is performed from outside without modifying the Terminal Server client or installing additional software on the terminal server. Even for communication between controller and load generators, a separate network is used so that there are no influences on the data transport between terminal server and terminal server clients. Thus, it is possible to measure not only the terminal server but also the influences of different clients or client options such as e.g. Screen resolution, color depths or audio output to the network bandwidth. The system under test (SUT), as the system that is being surveyed in general terms, consists not only of the terminal server itself but also, strictly speaking, of the Terminal Server clients, the network between clients and the terminal Server, as well as the terminalserver itself. T4US does justice to this situation by not interfering with this client-network server relationship.

Fujitsu Dot Matrix Printer (68) — “Tool for User Simulation” diagram (page 16)
Fig. 15 · “Tool for User Simulation”

The terminal server clients and the components T4US agent and T4 US playback run together on the load generators. Comparative measurements, however, ensure that the hardware of the load generators is dimensioned such that it does not represent a bottleneck and has no negative influence on the terminal server clients and thus on the measured result. Furthermore, one can optionally operate a load generator as what is known as the reference client which simulates only a single user while all other load generators simulator a plurality of users. By comparing the measured values of the reference client with those of the other clients, it is possible to exclude any influence by the load generators on the measurement results.

The infrastructure server still in the SUT network provides basic services such as Active Directory, Domain Name Service (DNS) and Terminal Services Licensing to the terminal server being surveyed; it is not itself surveyed.

Page 17 of the Fujitsu Dot Matrix Printer (68) user manual — Measurement environment
Page 17 · click to enlarge
Page 17

Measurement environment

After discussing user classes, user simulation and load generators in general terms in the previous chapter, we now come to performance measurements performed for the PRIMERGY Server family.

All current PRIMERGY models suitable for use as a typical terminal server were examined in the following measurement environment:

Fujitsu Dot Matrix Printer (68) — Measurement environment diagram (page 17)
Fig. 16 · Measurement environment

Controller (T4US-Control): • The controller was used Windows Server 2003 Standard Edition.

  • Load generators:
  • 20-24 load generators with two Pentium III processors each having more than 1 GHz and 1 GB of memory were used.
  • The load simulators were running under the operating system Windows Server 2003 Standard Edition SP1.
  • Clients:
  • The Citrix Terminal Server client (Neighborhood program with 32-bit ICA client) was used to access the terminal server via the ICA protocol (either version 7.00.17534 from "Citrix MetaFrame XP Presentation Server" feature release 3 or version 9.00.32649 from "citrIX Presentation server 4.0").
  • Microsoft’s Remote Desktop (RPP) client allows access to a terminal server via the RDP protocol. Windows Server 2003 Standard Edition includes version 5.2.3790.1830 of the RDP client, which supports the V5.2 protocol for RDP.

Network: • The load simulators were connected to the SUT network via a 100 Mbit Ethernet network, with the terminal server being connected through the Gigabit uplink. The network protocol was TCP/IP.

  • Terminal Server (System under Test):
  • The PRIMERGY servers (System under Test) were each equipped with Windows Server 2003 Enterprise Edition. The terminal services were activated in Application Server mode.
  • The measurements, which included a Citrix Terminal Server, had either CitriX MetaFrame Enterprise Edition with Service Pack 3 and Feature Release 3 or Citrixi Presentation Server installed. The Terminal Server farm consisted of only one terminal server. The data store was located locally on the system disk of the system to be surveyed and was realized as a Microsoft Access database.
  • The files of the users, which were read and written during measurement, also located locally on the terminal server.
  • The user profiles were stored on the terminal server by default.
Page 18 of the Fujitsu Dot Matrix Printer (68) user manual — Load profile
Page 18 · click to enlarge
Page 18
  • Infrastructure server:
  • The infrastructure server provides the system under test with necessary services, it was not measured itself. The server has been sized so that it is not a bottleneck.
  • The user accounts of the simulated users were created on the Active Directory Domain Controller. A login was always made against the Active Directory.
  • The Active Directory System serves as both a DNS server and a terminal server licensing service.
  • The infrastructure server ran under the Windows Server 2003 Standard Edition SP1 operating system.

This synthetic measurement environment greatly simplifies a realistic customer environment to exclude influences from other systems and obtain reproducible results. The influence of other components in a terminal server environment is discussed in the chapter »Infrastructure«.

Load profile

All measurements were carried out with a medium load profile. As defined in the “User” chapter, a “Medium User” works with only one application and enters data quickly. In our medium load profile, Microsoft Word serves as an application and the user writes a pictured text with an average input rate of 230 attacks per minute.

The load profile was recorded in a real scenario and the character input corresponds to the real working speed of an author writing with 10 fingers.

Furthermore, the medium load profile includes:

  • Each user works under their own account.
  • The user's first login and the application's initial start are outside of the measurement path. However, after work has been done the user logs off on the terminal server and again for a new pass. Since the users are started off in an offset manner, a continuous log-on and log-off is thus obtained during the entire measuring period.
  • Each terminal server client (user) starts the application from its desktop, and each script runs it up and ends.
  • Each user has his own directory, in which the images used in the text are stored. This prevents all users from loading the same image files and they are all in the server file cache after a short time. Each user writes a new document with a unique name every time they pass through the script. After successful creation, the document with a size of approx. 227 KB is stored on the hard disk of the terminal server in a user's own directory.
  • The average input speed is approximately 4 characters or about 3 characters. Cursor movement per second. However, inputs do not take place during the entire run because various thinking times of different lengths are scattered in the script as it comes close to natural working.
  • The screen resolution is 1024x768, the color depth is 16-bit.
  • A run through the script including waiting times takes approx. 16 minutes.

Since this Sizing Guide is about a relative comparison of the PRIMERGY models among each other, investigations with further load profiles were omitted. While this would lead to a different number of users per PRIMERGY, the relation between each PRIMER GY model would be the same.

If absolute user numbers are stated on a server, the customer-specific load mix must be analyzed anyway and compared with the performance data in this paper (cf. Chapter “Comparability.”

Page 19 of the Fujitsu Dot Matrix Printer (68) user manual — Measurement method
Page 19 · click to enlarge
Page 19

Measurement method

A performance measurement includes a simulation tool and the most realistic load profile possible, as well as a set of rules according to which individual measurements are carried out and evaluated.

Types of measurement, duration and phases

Before the measurement, all systems, i.e. Restarted load generators and server under test, including the T4US client components T4US agent and T4 US playback. On the controller system, the T4US controller is restarted each time.

T4US supports three different measurement functions:

Reference measurement with constant number of users

A constant but small number of users will allow one or more T4US scripts to go through several times. In the terminal server measurement environment, the T4US script was executed at least three times behind each other by five users. These measurement data are collected and from them the T4US controller calculates comparison values for each individual measuring point, which serve as a baseline for further measurements.

Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 19)
Fig. 17 · Measurement method
Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 19)
Fig. 18 · Measurement method

Measurement with constant number of users

When measuring with a constant number of users, a consistent number of user works over a predetermined period of time with the terminal server.

As a result of the measurement, you get the response times of the terminal server and performance counter

of the server.

The measurement itself is divided into three phases:

During the start-up phase, all T4US playbacks will gradually begin their work on command of the T4 US controller. The T4US controller distributes the start of scripts evenly over the starting phase, which always takes 15 minutes; regardless of how many users should be simulated. This is true, as more powerful PRIMERGY servers can serve more users overall and therefore they are expected to log in more times than less-performing systems. An unevenly staggered distribution of the registrations, as is often done in other measurements, was deliberately omitted because in reality the user will not wait any longer with his registration just because many users are already working. The start phase is completed when all scripts are started.

During the settling phase, all T4US playbacks run according to the scripts that have been set.

The following 60 minutes are used to collect measurement data. The performance counters of the terminal server are evaluated as well as the response times reported by T4US playbacks.

Show 6 more labels / short text on this page
Start phase · (Startup) 15 minutes · Settlement phase ·(Warm-up) 30 minutes · Measurement phase (Steady State) · 60 minutes
Page 20 of the Fujitsu Dot Matrix Printer (68) user manual — Measurement method
Page 20 · click to enlarge
Page 20

If an error is detected during one of the phases, this leads to termination and repetition of the measurement.

During all phases, measurement data are collected and controlled, but only the measured data whose beginning and end completely fall into the measurement phase is used for evaluation. The response times of the terminal server are registered by T4US playbacks and reported to the controller.

Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 20)
Fig. 19 · Measurement method

The server’s performance counter is queried by the controller. The data of the terminal server during the measurement phase are evaluated. The data of the other systems involved, such as load generators, controllers and infrastructure servers are monitored for control to ensure that they are not overloaded or that a measurement is invalid due to side effects.

All measurements of the Terminal Server Sizing Guide V3.0 were performed with this type of measurement.

Measurement with variable number of users

When measuring with variable number of users, the number of people working with the terminal server is continuously increased according to a preset rule until the terminal Server is overloaded.

During the entire measurement, the response times of the terminal server are monitored by the T4US controller. This compares each individual measured value with a stored reference value which was determined from a preceding reference measurement. As a rule for server overload, certain end criteria are configured.

As a result of the measurement, you get a number of users (“score”).

When measuring with variable user count, phases where new terminal server users are added alternate with phases in which the number of users remains stable. During the individual start phases, a part of the T4US playback’s gradually takes up work on command from the T3US controller. Here, the T4US controller distributes the start of the scripts evenly over the starting phase. A start phase is completed when all scripts of the T4US playback are started. During the next Steady State phase, the measurement is in a stable state and no new users are added. The start phases and stable phases are repeated continuously. In this case, many users can be started quickly in the early period of measurement while the duration of the start phases increases further and further during the course of the measurement; as a result, the distance between user log-on is increased. This stretching of the user logins makes the measurement result more accurate and reproducible.

Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 20)
Fig. 20 · Measurement method
Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 20)
Fig. 21 · Measurement method

If a fault is detected during the measurement, this leads to termination and repetition of the measurement.

Page 21 of the Fujitsu Dot Matrix Printer (68) user manual — Measurement method
Page 21 · click to enlarge
Page 21

The performance counters of the terminal server are queried by the controller and evaluated over the entire measurement phase. The data of the other systems involved, such as load generators, controllers and infrastructure servers are monitored for control to ensure that they are not overloaded or that a measurement is invalid due to side effects.

All measurements of the Terminal Server Sizing Guide from version 3.1 onward were carried out with this type of measurement.

In particular, it is necessary to specify when a server is used up. It is certainly possible to build on a system where n Applications are running, even one n+1- start. But it is not practical to overload a server arbitrarily. This would only determine how “stretchable” the operating system’s management tables are. Rather, one must find a measure for stable working of the system. If this is exceeded, the system becomes overloaded and unstable. All Windows Server operating systems offer a variety of performance counters that provide information about the system status. An indicator for the off- and off-sets, i.e. Overloading the system is the “Processor Queue Length”. This counter indicates how many threads are waiting for their execution by the CPU. If this counter increases significantly and continuously, it is an indication of overloading the system. It should be noted that, regardless of the number of processors, only one counter is run for the queue length. Even at a high value for the queue length, the percentage CPU utilization does not have to be close to 100%; even with lower CPU utilizations of less than 50% there may be an increase in processor queuing. This occurs when a plurality of processes is in the idle state, a condition which is achieved by a plurality, particularly, of users who do nothing more than keep an application open (cf. Chapter “Number of Processes”.

A second measure of server stability is the response time a server uses to respond to user input. It is of course directly related to processor load and processor queue length.

In the case of: Measurements with constant number of users The terminal server is loaded until the average CPU usage exceeds 70%, the processor queue increases significantly or the response time of the application is increased by more than 10% compared to a reference time.

In order to set the reference time, one instance of each relevant load profile is started on five load generators and passed through three times successfully. The reference times are mainly limited by the waiting time within the scripts and differ only minimally from system to system. The reference times themselves are not used to document the performance of the relevant PRIMERGY system, but only to calculate the increase in response time.

In order to determine the response times, an average is formed from all measurement data of the individual measuring points which are determined by the clients during the measurement phase and sent to the T4US controller and compared with the reference times.

Since the average of all measured values during the measurement phase is formed, the percentage by which response times may deteriorate is not very high at 10%.

In a measurement with constant user numbers, the number of users is specified which the terminal server works with during the measurement and it can only be determined after passing through the measurement whether or not the terminal Server was still able to meet these requirements.

Processor load · Response time

Page 22 of the Fujitsu Dot Matrix Printer (68) user manual — Measurement method
Page 22 · click to enlarge
Page 22

In the case of: Measurements with variable number of users the terminal server is loaded until the response time of the application deteriorates relative to a reference time so far that it no longer satisfies the predefined rules. The performance counters are written and evaluated after the measurement, but only the response time of the terminal server is used to determine the number of users who can work satisfactorily with the terminal Server.

The user satisfaction requirement can be configured in the T4US controller. In the measurements on which this Terminal Server Sizing Guide is based, each individual measured value may be increased by 30% (values over 1500 ms) or more. 100% (values up to 1500 ms) deteriorate. Overall, 90% of the measured values must be within this framework; 10% outliers are tolerated. Any other measured value that exceeds the limit of 30% (or 30 percent) 100%) deterioration exceeds, leads to the termination of measurement. The number of users thus achieved is the result of the measurement and is called a “score”.

The graphic illustrates the working method of the T4US controller when evaluating measured values. The horizontal line at 1000 ms response time is the set limit, which must not exceed 90% of the measured values. Some outliers are allowed, these are compensated by subsequent values within the permitted range. However, if too many outliers are detected, the terminal server is considered overloaded. The measurement is terminated at this point, the picture also shows how the measured values would deteriorate further if more users were added. In this example, the score is “76 users”.

Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 22)
Fig. 22 · Measurement method
Fujitsu Dot Matrix Printer (68) — Measurement method diagram (page 22)
Fig. 23 · Measurement method

In order to set the reference time, one instance of each relevant load profile was started on five load generators and passed through three times successfully. The reference times are mainly limited by the waiting time within the scripts and differ only minimally from system to system. The reference times themselves were not used to document the performance of the PRIMERGY system in question, but only to calculate the increase in response time.

Compared to the constant user count measurement, where a 10% deterioration in response times is allowed, variable user count measuring works with a higher limit of 30%. This results from the fact that when measuring with variable number of users, each individual measured value must comply with this limit and not only the average.

Even though there are numerous articles from Microsoft and Citrix on the optimization of operating system and terminal servers, we have completely refrained from an optimisation in our measurements. The reason is that many of these settings only make sense in certain environments; when used in another environment, they often do the opposite. Since we have examined different PRIMERGY systems with different system components in this series of measurements, the results would not have been comparable.

The only settings that are changed to subject all PRIMERGYs to the same test conditions are:

  • The pagefile of the operating system has been set to a fixed size of 4 GB in order to avoid fragmentation and thus have the same conditions for all tested servers.
  • For Citrix, the limit of 100 users per server that is specified by the built-in load balancing (even if the Terminal Server farm consists of only one terminal server) had to be removed.

The enlargement of the registry on a terminal server, which was previously necessary under Windows 2000 Server, is no longer required for Windows Server 2003.

Tuning

Page 23 of the Fujitsu Dot Matrix Printer (68) user manual — Resources need
Page 23 · click to enlarge
Page 23

Resources need

This document examines terminal servers under both the 32-bit Windows Server 2003 R2 operating system and 64-bit windows server 2003 R2-x64. The 32-bit and 64-bit versions of Windows Server 2003 R2 are based on the same code base, so they can be compared directly. Windows Server 2003 R2 is identical to the Windows Server Service Pack 1 except for some additional services and tools. The same boundary conditions were used for the 64-bit measurements as in the 32-bit measuring. The simulated users worked with the medium load profile in both cases using Microsoft Office 2003.

For a server system, the following performance-relevant factors are decisive:

  • Calculation power
  • Main memory
  • Disk subsystem
  • Network

Depending on the task of the server, individual components have different weightings in relation to the overall performance of the Server. In the following, we want to discuss and use measurement results to underline which components have what influence on the performance of a terminal server system.

In this analysis, a single component is examined in order to make it easier to compare and a bottleneck of this component is provoked while the other resources are sufficiently dimensioned. Therefore, on some measurement series it may seem at first glance that the 32-bit operating system has advantages over the 64-bit OS because it requires fewer CPU and main memory resources. However, modern server hardware with multi-core architecture has sufficient processing power so that in reality the limitations will shift towards memory and kernel structures from which the 64-bit operating system can manage larger units.

Page 24 of the Fujitsu Dot Matrix Printer (68) user manual — Calculation power
Page 24 · click to enlarge
Page 24

Calculation power

The computing power of a system depends on the processor characteristics and number of processors.

For Intel-compatible servers, a variety of processor variants are available today that are installed in the PRIMERGY systems: AMD Opteron, Intel Celeron, intellectual Pentium 4, intellectual pentium D, intellectual pentium M, intellectual Xeon processor and intellectual xeon MP. While the Celeron is designed for the low-end range, today in the server area the processors AMD Opteron, Intel Pentium 4, Pentia D, Xeon and Xean MP have established themselves. Some of today’s processor types are based on dual-core technology, which includes two cores per chip.

The following overview shows the various processors used today for terminal servers, with their performance data for one CPU each, there being examples having a single core (single core) and examples with two cores (dual core). From these measurement results for a CPU, the performance of a system with a higher number of CPUs cannot be read because the increase is not linear. Information on the scaling of processors can be found in the following sections about "Clock Frequency" and "Number of Processors".

Fujitsu Dot Matrix Printer (68) — Calculation power diagram (page 24)
Fig. 24 · Calculation power
Fujitsu Dot Matrix Printer (68) — Calculation power diagram (page 24)
Fig. 25 · Calculation power

When considering the processing power, all systems were built with enough memory so that in this comparison the main memory is not a bottleneck. During the examination, the working memory was not varied. Due to the architecture, only half of memory banks can be equipped with AMD Opteron processors on PRIMERGY models if only one CPU socket is fitted. Hyper-threading, if any, was turned on because this feature relieves the system of terminal server applications and allows a higher number of users to work with the terminal server.

The processors differ in their architecture as well as in clock frequency, caches and the like. Hyper-threading technology, number of processor cores and possible CPU count; this is considered in more detail in the following sections.

Processor type

Page 25 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 25 · click to enlarge
Page 25
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 25)
Fig. 26 · Clock frequency

The processor lines are again available in various power levels. Depending on the processor model, Intel processors have clock frequencies from 1 GHz to 3.8 GHz today and the speed of the front-side bus ranges from 133 MHz to currently 1333 MHz. However, the CPU clock frequency no longer necessarily says anything about computing power. This fact is already known from the comparison of AMD with Intel processors, since AMD processors achieve the same processing power at a lower clock frequency. The AMD Opteron processor has clock frequencies ranging from 1.8 GHz to 3.0 GHz. But Intel processors with the latest technology are also lower clocked than their predecessors and more power-efficient, but they also offer excellent processing performance thanks to a new internal architecture.

Intel Celeron 336, 346, 352 2.8 GHz – 3.2 GHz 533 MHz

Intel Pentium M 725, 755 1.6 GHz – 2.0 GHz 400 MHz

Intel Pentium 4 630 – 650 2.8 GHz – 3.6 GHz 3.0 GHz – 3,4 GHz 800 MHz

Intel Pentium D 820, 930 – 950, 925 – 945 2.8 GHz – 3.4 GHz 800 MHz

Intel Xeon 2.8 GHz – 3.8 GHz 800 MHz

5050 5060 – 5080 5110, 5120 5130 – 5160

2.8 GHz 3.0 GHz 3.2 GHz – 3.733 GHz 1.6 GHz – 1.867 GHz 2.0 GHz – 3.0 GHz

800 MHz 667 MHz 1067 MHz 1333 MHz

2.0 GHz – 3.0 GHz 3.0 GHz – 3,667 GHz 400 MHz 667 MHz

2.667 GHz – 3.0 GHz 2.8 GHz – 3.0 GHz 2.6 GHz – 3.4 GHz

AMD Opteron 244 – 256 1.8 – 3.0 GHz

265. 285 865 – 885 1.8 – 2.6 GHz

Scaling of CPU clock frequency for terminal server applications was studied in several processor families. For the above-mentioned reasons, clock frequencies can only be compared within one processor family. You can see that a higher clock frequency also means higher performance, but the increase in frequency is not reflected 1:1 in the relative increase in performance. This is explained by the constant frontside bus and thus unchanged speed in memory and I/O accesses. More powerful influence than the clock frequency is due to the increase in cache size, which will be discussed in detail in the following section.

The scaling of the Intel processor families Pentium M, Pentia 4, Pentia D, Xeon and Xeons MP as well as AMD Opteron processors for current PRIMERGY systems is shown in detail below.

A special feature are the particularly power-saving Pentium M processors used in PRIMERGY BX300 with so-called Blade Server technology. These meet special requirements for power consumption and heat generation, so that a high computing capacity can be made available in the densest room.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 25)
Fig. 27 · Clock frequency

The graphic shows the CPU scaling of Pentium M processors on a mono-CPU blade from PRIMERGY BX300. By increasing the CPU frequency, an increase in performance can be detected and this results in a higher number of users. Frequency enhancement is not converted 1:1 into a performance increase, however, since the speed of storage and I/O accesses via the frontside bus remains constant. By increasing the frequency by 25%, for example from 1.6 to 2.0 GHz, the number of users increases by 12.5%. The effects of cache sizes are discussed in detail in the following section.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 25)
Fig. 28 · Clock frequency

(Medium load profile, Microsoft Office XP, Microsoft Terminal Services)

Clock frequency · Pentium M

Page 26 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 26 · click to enlarge
Page 26

The Pentium 4 processor is used in the PRIMERGY servers with a CPU socket, such as PRIMER GY TX150 S2, PRIMER gy TX250 S3 or PRIMERgy RX100 S3, although not all of the Pentum 4 class processors are used in all PRIMERgy. This CPU generation currently has 1 MB and 2 MB Second Level Cache (SLC). Also in these measurements, an increase in performance can be recognized by increasing the clock frequency. However, an increase in the clock frequency cannot be converted 1:1 into an increase of the number of users. If the clock frequency increases by 7%, for example, the number of users only rises by 3 percent. This is explained by the constant frontside bus and thus unchanged speed in memory and I/O accesses. Despite lower clock frequency, the Pentium 4 processors with a larger cache offer higher performance.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 26)
Fig. 29 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 26)
Fig. 30 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 26)
Fig. 31 · Clock frequency

The Pentium D processor is a dual-core variant for 1 socket systems. The adjacent graphic shows the terminal server performance of some Pentium D CPUs. Here, too, of course: a higher clock frequency and a larger CPU cache offer greater performance These processors are used in the PRIMERGY systems Econel 100, TX150 S4, Tx150S5 and RX100 S3, with rack systems usually being used for terminal servers. The Pentium D processor also supports the 64-bit Windows operating system, but you won’t be able to run so many terminal server users on a 1-socket system despite dual core processor that you could benefit from the benefits of the 64 bit Windows operating systems.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 26)
Fig. 32 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Pentium 4 · Pentium D

Page 27 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 27 · click to enlarge
Page 27

Xeon (Single-Core Xeons for 2-Socket Systems)

If you examine a 2-socket PRIMERGY server, here a PRIMER GY RX300 S2 with one or two Xeon single-core processors each, the performance increase by CPU frequency is again recognized. In the case of a system with one CPU, in this example an increase in frequency by approx. 7% into a by approx. 2.5% higher number of users implemented. This is explained by the constant frontside bus and thus unchanged speed in memory and I/O accesses. In addition, the dual processor system has a slightly lower performance increase at higher frequencies than in the monoprocessor system. Further processors require a higher synchronization effort on the part of the operating system. This single-core Xeon generation is currently available with 1 MB and 2 MB SLC. The increase in performance due to a larger cache is higher than the increase in output resulting from an increase in frequency.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 27)
Fig. 33 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 27)
Fig. 34 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

The effects of cache sizes will be discussed in detail later.

Page 28 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 28 · click to enlarge
Page 28

Dual-Core Xeon (for 2-socket systems)

The distinction is made in newer Xeon processors by the processor number. As dual-core processors for the 2-Socket systems, there are the following types of processor:

  • Xeon 2.8 GHz 800 MHz Front-side bus codename: Paxville
  • Xeon 50xx 3 - 3.73 GHz 667 MHz Front-side bus codename: Dempsey
  • Xeon 51xx 1.60 - 3 GHz 1066 MHz Front-side bus codename: Woodcrest

All processors have two cores per chip (dual-core). The second level cache (SLC) is directly assigned to each CPU core in the Paxville and Dempsey processors, with a size of 2 MB per core. In the case of Woodcrest processors, the size of the second level cache is 4 MB and is assigned to both cores. Hyper-threading was on for the Paxville and Dempsey processors, as this feature relieves the system of terminal server applications and allows a higher number of users to work with the Terminal Server. The Woodcrest processors do not offer this feature. The measurements were made under 64-bit Windows 2003 (SP1).

All dual-core Xeon processors for 2-Socket systems are shown together in the diagram below, although they are not installed in the same PRIMERGY systems. The Paxville processors are used in the PRIMERGY RX300 S2, while the Dempsey and Woodcrest processors will be offered in the two socket systems of the PRImerGY S3 series.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 28)
Fig. 35 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 28)
Fig. 36 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services, 64-bit Windows)

A doubling of the CPU from one to two processors led to a performance increase of approx. 35% - 80%. The measurements with the lower clocked processors benefited from a power increase of approx. 80% stronger by the second processor than the measurements with higher clocked processors. In the case of the processor with the highest clocking, the increase in power was approx. 35%. Here, the number of working users is in a size range where not only does CPU power act as limiting factor but also other unchanged factors such as e.g. the speed of memory accesses.

The Xeon processors are an example of the trend in processor development towards less clock frequency with good performance. Woodcrest processors deliver comparable performance at significantly lower clock frequency and power consumption. Thanks to the improved microarchitecture based on latest technology, this is achieved even without hyper-threading.

Page 29 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 29 · click to enlarge
Page 29

Xeon MP (Single-Core, from 4-Socket systems)

In the PRIMERGY RX600/TX600 system series with one, two and four processors each, scaling can be observed via clock frequency, cache size and number of processors. Performance increases as expected when adding more processors. However, the scaling over frequencies is better in monoprocessor systems than multi-processor ones. Also, an increase in the clock frequency is more noticeable with the dual processor system than with the 4-way system. This results from the constant front-side bus and thus unchanged speed in memory and I/O accesses as well as due to the higher synchronization effort on the part of the operating system, which increases with the number of processors.

In addition to the PRIMERGY RX600, single-core processors are also used in the PRImerGY S2 and RX 600 S3. In the diagram below, all single-core Xeon MP processors are compared regardless of which generation of PRIMERGY RX600 or TX600 systems they can be used in.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 29)
Fig. 37 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 29)
Fig. 38 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services),

Windows Server 2003 Enterprise Edition, 32-bit

The effects of cache sizes and CPU count will be discussed in detail later.

Page 30 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 30 · click to enlarge
Page 30

Dual-Core Xeon (from 4-socket systems)

The dual-core Xeon processors are used in the PRIMERGY RX600 S2 and PRIMER GY Rx600 S3. Under a 64-bit Windows Server 2003, these processors were measured in their scale. The Xeon 70xx series processors with a 2 MB second-level cache (SLC) per core and FSB clock speeds of 667 MHz and 800 MHz are known under the code name "Paxville", while the Xeons 71xxM series processor with the codename "Tulsa" have a third-level Cache (TLC) used jointly by both cores, always operating at an 800 MHz FSb.

In the diagram below, all dual-core Xeon processors are compared regardless of which generation of PRIMERGY RX600 or TX600 systems they can be used in. The performance of the processors in a terminal server application scenario is not exclusively dependent on clock frequency, but also on type of processor, cache size and front-side bus speed. If the increase in power resulting from an increase of the clock frequency is compared within a processor generation, it can be seen that the increase of frequency is not reflected 1:1 in the relative increase in performance. This is explained by the constant front-side bus (FSB) and thus unchanged speed for memory and I/O accesses. However, the size of the CPU cache has a much greater impact on performance because this cache relieves the front-side bus. The doubling of the cache from 1 MB to 2 MB in the Xeon 7030 and Xeons 7041 processors, combined with a small frequency increase of 0.2 GHz, increases the number of users by approx. 28%. A significant jump in performance is achieved by using a second processor, the increase of user numbers lies between 48% and 78%.

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 30)
Fig. 39 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 30)
Fig. 40 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

In the configuration with four processors, a less favorable scaling is shown in the load profile used here compared to an extension with two processors. Each additional processor increases the synchronization effort on the part of hardware and operating system, while the speed of access to other resources remains the same. For this reason, the performance of the terminal server can no longer be efficiently increased by adding more processors. It is evident that the number of users does not run against a limit, but can be increased further by using a larger processor, but the gain in performance is not as great as when the processors double from 1 to 2. Due to the medium load profile used here, which includes logging in and out of the user and where all users create an illustrated text with Microsoft Word, the PRIMERGY RX600 S3 is expanded with four processors and overloaded by the terminal server because many users simultaneously log on as the number of users increases and access the file system at the same time. The number of users falls short of expectations, while there are still sufficient CPU and main memory reserves. The processors are only 40% - 50% utilized, with the disk subsystem not being a bottleneck. The bottleneck is to be searched in the handling of the file system by Windows.

Page 31 of the Fujitsu Dot Matrix Printer (68) user manual — Clock frequency
Page 31 · click to enlarge
Page 31

The rack server PRIMERGY RX220 and the blade server PRImerGY BX630 are equipped with AMD Opteron processors. These are available as single-core and dual-core variants, with the dual core CPU having the same characteristic as the single-core CPU. So each processor core has 1 MB SLC, and the frequency gradations are also the same. For this reason, the single-core and dual-core processors are presented in a diagram. Not necessarily every CPU has to be available in each PRIMERGY model.

As the following graphic shows, the performance of processors increases with clock frequency. In the case of single-core processors, the system scales from one to two processors with an excellent factor of well over 80%. A significant jump in performance is achieved by using a dual-core processor. However, in the upper power spectrum of the 2-socket system with two dual-core processors a stagnation can be detected; despite a higher CPU frequency, the number of users cannot be increased. This is explained by the 32-bit operating system used here in the measurements, which operates at an order of magnitude of approx. 200 users are in a bottleneck of kernel resources. This is discussed in detail in the chapter "Operating system".

Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 31)
Fig. 41 · Clock frequency
Fujitsu Dot Matrix Printer (68) — Clock frequency diagram (page 31)
Fig. 42 · Clock frequency

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

AMD opterone

Page 32 of the Fujitsu Dot Matrix Printer (68) user manual — Front-side bus
Page 32 · click to enlarge
Page 32

The following examines the influence of front-side bus (FSB) clock on Intel-based servers.

The front-side bus handles the communication between the processor and what is known as Northbridge, a component of the chipset that in turn is connected to other components such as memory or PCI bus. The FSB is operated at a certain clock rate, which has an influence on the system performance.

In general, two processors differ by more properties than just the clocking of the front-side bus, so a direct comparison is usually not possible. While some time ago only one front-side bus clock speed was used per system, today in modern PRIMERGY systems two or three different FSB speeds are offered, depending on the type of processor employed.

However, under laboratory conditions the influence of front-side bus clock could be measured. The graphic shows the performance improvement by increasing the front-side bus clock frequency from 667 MHz to 800 MHz, which represents an increase of approx. 20% is equivalent. The number of terminal server users increases in all three surveyed configurations. A faster FSB relieves the processor, the "% Processor Time" is slightly lower at 800 MHz FSb and also the "Processor Queue Length". This CPU reserve allows more users to work with the terminal server before response times deteriorate and are no longer within allowed limits. However, the increase in user numbers is less than the increase of FSB clock frequency. Terminal Server as an application not only requires processor power, but also contributes to the overall performance of all resources such as processor, memory, network and disk.

Fujitsu Dot Matrix Printer (68) — Front-side bus diagram (page 32)
Fig. 43 · Front-side bus
Fujitsu Dot Matrix Printer (68) — Front-side bus diagram (page 32)
Fig. 44 · Front-side bus

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Due to its architecture, PRIMERGY systems equipped with AMD Opteron processors do not have a front-side bus. The memory controller is integrated into the CPU and the processors are connected to each other by a HyperTransport link.

Front-side bus

Page 33 of the Fujitsu Dot Matrix Printer (68) user manual — Caches
Page 33 · click to enlarge
Page 33

A cache is generally a fast buffer that speeds up access by storing data. In Intel CPUs, the caches are cascaded in several stages. A distinction is made between Level 1 cache, Level 2 cache (also called Second Level Cache (SLC)), and Level 3 cache. In most cases, only the last cache is mentioned in the performance data of the CPUs. The cache is designed to prevent the processor from having to wait for data of slower RAM. The larger the cache, the fewer memory accesses are necessary. This time saving in turn results in a higher computing power.

Intel processors offer different cache sizes in addition to different clock frequencies.

Experience has shown that a doubling of the cache is achieved by an increase in performance of approx. 10% noticeable.

In the case of terminal servers, a doubling of cache leads to CPU discharge. The medium load profile was used to carry out measurements with variable user numbers. Under otherwise identical conditions, two processors were used once with 1 MB cache and once with 2 MB caches. Hyper-threading was on. As the adjacent graphic shows, the processor of the Terminal Server system is less heavily used in the larger cache. In the case of a variable number of users, the measurement is terminated when the response times of the terminal server exceed the allowed frame. The larger cache system’s CPU reserves allow more users to be served by the terminal server before reaching this limit.

Fujitsu Dot Matrix Printer (68) — Caches diagram (page 33)
Fig. 45 · Caches
Fujitsu Dot Matrix Printer (68) — Caches diagram (page 33)
Fig. 46 · Caches

(Medium load profile, Microsoft Office XP, Citrix MetaFrame)

Fujitsu Dot Matrix Printer (68) — Caches diagram (page 33)
Fig. 47 · Caches

The medium load profile was able to observe a 15% higher number of users, as the adjacent graphic shows.

Fujitsu Dot Matrix Printer (68) — Caches diagram (page 33)
Fig. 48 · Caches

A performance increase with a larger cache will be most noticeable for a heavy user.

Especially when using a 64-bit operating system, it is necessary to pay attention to a sufficiently large cache, as will be discussed below.

(Medium load profile, Microsoft Office XP),

Caches · Citrix MetaFrame

Page 34 of the Fujitsu Dot Matrix Printer (68) user manual — Caches
Page 34 · click to enlarge
Page 34

Since the 64-bit operating system requires more data to be processed, the size of the CPU cache has a greater impact here.

The same PRIMERGY system was optionally equipped with Xeon processors of 1 MB or 2 MB SLC. As the adjacent graphic shows, a doubling of cache on both platforms leads to higher performance. The 64-bit system benefits the most from its twice as large cache with a 25% performance gain. The 32-bit system gains up to 15% more power with the larger cache. These measurements show that a 64-bit system requires a larger cache through the address overhead.

Fujitsu Dot Matrix Printer (68) — Caches diagram (page 34)
Fig. 49 · Caches
Fujitsu Dot Matrix Printer (68) — Caches diagram (page 34)
Fig. 50 · Caches

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

However, with a fully developed 4-socket system with four processes and large cache and sufficient memory this effect can be reversed so that the overall best performance values are achieved using the 64-bit operating system. The reason for this is that the 32-bit operating system gets into a bottleneck with the computing power and high number of users achieved here, which is overcome by the 64-bit architecture.

Fujitsu Dot Matrix Printer (68) — Caches diagram (page 34)
Fig. 51 · Caches
Fujitsu Dot Matrix Printer (68) — Caches diagram (page 34)
Fig. 52 · Caches

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services) A general recommendation is derived from these results: For systems with 64-bit operating system, processor variants with a large cache should be used in any case. This is more important than a slightly higher clock frequency.

Page 35 of the Fujitsu Dot Matrix Printer (68) user manual — Hyper-threading
Page 35 · click to enlarge
Page 35

Most Intel processors of the current generation support hyper-threading. With the processor types offered today, a processor family is usually consistently offered either with or without hyper-threading. The advantage of hyper-threading over classic multiprocessing was more performance at lower costs. The latest power-efficient Intel Xeon processors for 2-Socket systems no longer have hyper threading functionality, but offer excellent processing performance even without this feature thanks to the latest technology and dual core architecture. AMD processors do not have hyper-threading.

Hyper-threading processors double some resources on the chip, so these CPUs now have the ability to run two threads in parallel. Two virtual or Simulate logical CPUs. In contrast to the operating system, a CPU with hyper-threading is represented as two CPUs and is also controlled in this way. This brings a speed advantage if the operating system and applications are suitable for it. Windows as an operating system is designed to be hyper-threading capable and especially in terminal server environments many individual users work with a total of many, usually smaller applications in parallel so that Hyper-Threading can be expected to increase performance.

Measurements have shown that the performance gain from hyper-threading is greatest for low to medium loaded systems. For systems that work at their load limit, the performance gain is lower. The performance gain on a monoprocessor system is also higher than on multi-processor systems.

Fujitsu Dot Matrix Printer (68) — Hyper-threading diagram (page 35)
Fig. 53 · Hyper-threading
Fujitsu Dot Matrix Printer (68) — Hyper-threading diagram (page 35)
Fig. 54 · Hyper-threading

A series of measurements was performed on a PRIMERGY RX200 with two processors, once with hyper-threading switched on and once with the hyper-Threading turned off. In both cases, the same number of users was operated by 101. For terminal server applications, hyper-threading relieves the system of load and reduces CPU load by 31% as illustrated in the adjacent graphic. With the PRIMERGY RX200 and 101 users used, you could already detect a CPU bottleneck without hyper-threading; the response times of the terminal server were no longer within the specified limits. Due to the CPU relief through hyper-threading, the system again fulfilled the predetermined reaction time. In the case of a medium load profile, therefore, by hyper-threading approx. 20% more terminal server users are operated on the same PRIMERGY system. A reduction in the CPU load cannot be converted 1:1 into a user increase, since the CPU time no longer scales linearly in the high-load range but rather rises more strongly (cf. Graphic in the section "High CPU load behavior".

(Medium load profile, Microsoft Office XP, Citrix MetaFrame)

Fujitsu Dot Matrix Printer (68) — Hyper-threading diagram (page 35)
Fig. 55 · Hyper-threading

The measurement method »Measurement with variable number of users« was used to determine the absolute numbers of users for systems with and without hyper-threading. The adjacent graphic shows the measurement results. The PRIMERGY system was a PRIMER GY RX300 S2 with one or two processors at different clock frequencies. For this comparison, processors with 1 MB SLC were used. Hyper-threading was alternatively on (“HT on”) or off (“ht off”). It is clear that with hyper-threading on, a higher number of users can work with the terminal server. In a slower monoprocessor system, the performance gain through hyper-threading is higher than in a fast dual processor system.

Fujitsu Dot Matrix Printer (68) — Hyper-threading diagram (page 35)
Fig. 56 · Hyper-threading

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Hyper-threading

Page 36 of the Fujitsu Dot Matrix Printer (68) user manual — Number of processors
Page 36 · click to enlarge
Page 36

In addition, the computing power of a system can be increased by using several processors. The use of several identical physical processors is also referred to as "symmetric multiprocessing" (SMP). All resources of a CPU are multiple, i.e. It is present on any physical CPU, so that multiple processes can be executed simultaneously. Current processors of dual-core technology have two full-fledged processor cores on one chip. In contrast, hyper-threading, so to speak, involves a physical CPU like two logical CPUs.

Scaling with an increasing number of processors is linear only in the ideal case of an optimally parallelizable application. However, the more accesses to common resources such as memory, hard disks or network take place and thus require coordination between processors, the greater the flattening curve. In extreme cases, with a very large number of processors and a very high coordination component between the processors, there may even be an “overturn” in scaling. (cf.) Also called “scale-up”. Designers of large multiprocessor systems counteract this by setting aside big caches for processors or forming groups of processors and assigning these to their own memory and I/O components. However, the latter requires specially adapted operating systems and applications for optimal performance, such as e.g. Windows Server 2003 Enterprise and Datacenter Edition with nonuniform memory access (NUMA) support.

Scaling over the CPU number of terminal servers was examined using two examples.

The adjacent graphic shows the scale of the PRIMERGY RX800 with one to eight processors Pentium Xeon MP at the same clock frequency of 2.2 GHz. Hyper-threading was on. As with the dual processor system PRIMERGY RX300 S2 above, you can also see the performance increase in the PRIMER GY R X800 System by adding processors: the performance improvement from one to two processors is 66% and from two to four processors 25%. Of course, the number of users cannot increase by 100% if the CPU count is doubled! Additional processors add a higher synchronization effort on the part of the operating system; the processes (more precisely, the threads) have to be distributed and accesses to other resources, which have remained unchanged, coordinated. When scaling from four to eight processors, you can see that “Amdahl’s Law” is unfortunately confirmed in practice. For terminal server applications, a further doubling of the number of processors does not bring any further increase in the number. The terminal server can no longer manage any further sessions, although CPU power reserves would still have to be available.

Fujitsu Dot Matrix Printer (68) — Number of processors diagram (page 36)
Fig. 57 · Number of processors
Fujitsu Dot Matrix Printer (68) — Number of processors diagram (page 36)
Fig. 58 · Number of processors

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services),

Windows Server 2003 Enterprise Edition, 32-bit

The current generation of dual-core processors, which also support hyperthreading, already run eight physical, i.e. Sixteen logical processors in parallel. This configuration involves the number of users in order to manage a 32-bit operating system. On a PRIMERGY RX600 S3 with 64-bit Windows, the scale over the number of processors was also examined. In dual-core processors, two processor cores are added with each further processor. The scaling is still good at 62%, and a further doubling of the number of processor cores also brings an increase in the number.

Fujitsu Dot Matrix Printer (68) — Number of processors diagram (page 36)
Fig. 59 · Number of processors
Fujitsu Dot Matrix Printer (68) — Number of processors diagram (page 36)
Fig. 60 · Number of processors

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services),

Windows Server 2003 Enterprise Edition, 64-bit

Number of processors

Page 37 of the Fujitsu Dot Matrix Printer (68) user manual — Behavior at high CPU load
Page 37 · click to enlarge
Page 37

Behavior at high CPU load

If the number of users, CPU usage and response times are related to each other, one can see how the terminal server's response times behave with increasing utilization. During a measurement over 25 minutes, the number of users was continuously increased in the first 15 minutes. Each user logs in first, after which he works with Microsoft Word to get around approx. 16 minutes to log back off and start again from scratch.

Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 37)
Fig. 61 · Behavior at high CPU load
Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 37)
Fig. 62 · Behavior at high CPU load

This distributes the user logins (blue curve n) over a relatively short period of time, but this comes close to reality when users start their work at about the same time. The CPU utilization of the terminal server steadily increased (red curve o) to close to 100%. Two significant measurement results were observed: the time it took for users to log in to the terminal server (purple curve p) and the time they needed to insert an image into Microsoft Word (green curve q). A login to the terminal server not only includes the login itself, but also the user's desktop is started. This puts more strain on the terminal server than pasting the image into Microsoft Word. Actions that themselves take a heavy toll on the terminal server are slowed down more under high load than less stressful actions.

Three phases of terminal server utilization can be seen:

  • The CPU load of the terminal server is less than 70%. The server response times are slightly extended, but the user will not realize this.
  • The CPU load of the terminal server is between 70% and 90%. Actions that put more strain on the server are slowed down, but response time is still tolerable for the user. Actions that do not burden the server so much have on average the same reaction times, but fluctuations can occur.
  • If the terminal server’s CPU load is over 90%, then the server will be significantly overloaded. Depending on the user action, the server responds much later; especially actions such as a login take significantly more time. But even simpler actions are significantly slowed down. The user will no longer tolerate the server’s response time behavior.

o n · p · q

Page 38 of the Fujitsu Dot Matrix Printer (68) user manual — Behavior at high CPU load
Page 38 · click to enlarge
Page 38
Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 38)
Fig. 63 · Behavior at high CPU load
Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 38)
Fig. 64 · Behavior at high CPU load

All PRIMERGY servers, especially the more powerful ones, have a behavior that overloads an apparently normal system by adding a few users. On a PRIMERGY RX600 with four processors, 4 GB memory and on-hyperthreading it was examined whether this behavior only occurs with terminal server or if this limitation is already given by the operating system. This was done using a synthetic small application that alternately loads and maintains the system, just as an application on a terminal server system would. From this application, new instances were continuously launched. As the adjacent graphic shows, the system is not burdened by the continuous launch of applications. But there is a time when adding fewer processes increases the CPU load by jumping to over 90%. In the investigations conducted with Terminal Server, this limit is not as clear as in this synthetic case, but there is also this point where the “barrel overflow” is made.

The T4US measurement with variable number of users ends a measurement at the moment when the response times of the terminal server are no longer sufficient, regardless of how high the CPU utilization is on the server at that time. Therefore, it is interesting to look at the processor loading in this moment and relate these results between PRIMERGY systems with different CPU extensions. The adjacent graph shows on the Y-axis the number of users serving the corresponding PRIMERGY system, while on the X-axle is plotted the percentage CPU utilization necessary for operating this number of people. The various straight lines show the different CPU expansion stages of the systems: a solid line is a system without hyperthreading, and a dashed straight line shows a system with hyperthinking switched on. The graph shows only the trend of CPU utilization. In reality, the actual processor utilization varies around this line. The numbers denote the number of CPUs “real/virtual”, for example, "2/4" means a system with 2 CPUs and hyper-threading on. It is clearly evident that, with the same number of users, the processor utilization in a system without hyperthreading is correspondingly higher than in a System with hyperth threading. Furthermore, the larger a system is, the smaller the CPU load. The number of users that such a system can still serve with the expected response times is therefore not always achieved at the same CPU load. While a monoprocessor system can only not reach the response times at 90% to 100% CPU load, a dual processor system may already be unable to serve other users at 70% CPU load. Despite these differences, a larger system can of course serve more users in total but its CPU resources cannot be used as optimally because other components in the system have a limiting effect.

Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 38)
Fig. 65 · Behavior at high CPU load
Fujitsu Dot Matrix Printer (68) — Behavior at high CPU load diagram (page 38)
Fig. 66 · Behavior at high CPU load
Page 39 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 39 · click to enlarge
Page 39

Main memory

The main influence on the performance of the terminal server is exerted by memory. This is reflected in particular in the response time. Because Windows gets if necessary further virtual memory by swapping (Pagen) of currently not needed data from the main memory (RAM) into the swap file (Pagefile) on hard disk. However, since disk accesses are slower than memory accesses by at least the order of magnitude 1000, this leads directly to a breakdown in power and a rapid increase in response times.

In practice, today it is not the hardware that sets the limits but rather the software architecture. The software in the 32-bit design that is used most often today can often no longer fully use the available hardware. In particular, there is a limitation in the addressing of the main memory, where 32-bit applications are limited to 4 GB virtual address space. If the server is physically equipped with more than 4 GB of memory, this storage cannot be used effectively for most cases. Due to the dependence between memory and computing power, many applications cannot exploit the processing power provided by 8-way and 16-way servers.

User processes occupy virtual space, whether users are actively working or not and even when the session is in a disconnected state. Since these limits affect virtual storage, adding main memory would not improve. Microsoft has already made improvements in memory management with the 32-bit version of Windows Server 2003: The limited virtual 32- bit address range is used more optimally by the kernel, so that more users can work with Windows Server 2002 than with Windows 2000 server. This of course only applies to systems where virtual memory management is the bottleneck. On systems where the CPU or physical memory is the bottleneck, Windows 2000 Server and Windows 2003 servers can operate with an equal number of users.

Only with 64-bit operating systems and 64-Bit applications is this remedy created. Although there are now 64-bit versions of Windows Server 2003 and 64-Bit PRIMERGY systems, however, there is a lack of 64- bit applications. But 32-bit applications can also benefit from a 64-bit operating system.

The following table gives an overview of the memory-relevant differences between the various 32-bit and 64-bit Windows products that can be used sensibly for terminal servers:

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 39)
Fig. 67 · Main memory

Windows Server 2003 R2 Windows Server 2004 R2 x64 Windows Product Standard

Number of processors 1 – 4 1 – 8 1 – 3 1 – 5

Max. RAM 4 GB 64 GB (WITH PAE) 32 GB 1 TB

2 GB 2 GB Virtual address space of a 32-bit process 3 GB when booted with /3GB Switch

Page 40 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 40 · click to enlarge
Page 40

However, the fact that memory requirements are linear according to the formula

growing.

Note that the storage requirement per user depends heavily on the application used. However, if one knows the memory requirement of a user for an application, it is easy to calculate the total storage requirements.

The maximum possible memory expansion of the system and support for the operating system have an upper limiting effect here (see table above).

The memory usage of a Windows application is not easy to determine. Various performance counters such as “Available MBytes”, “Committed Bytes” and the “Working Set” of applications are available. While Available MBytes specifies the currently free physical main memory, Committed Bytes indicates how much virtual main memory was promised to running applications. The “working set” of an application is the memory it has already used. One property of the Windows operating system should be considered: if enough main memory is available, more storage will also be used. Only when the free memory falls below a certain threshold value is "cleaned up" and the memory is transferred outside of the working set. Thus, the actual memory requirement cannot be read off from a system that is not operated in the storage boundary area.

If one nevertheless plots the occupied memory calculated from "Available MBytes", the "Committed" memory and the "Working Set", a linear course is known, which grows with increasing number of users, independent of the PRIMERGY model and equally in 32-bit and 64-bit operating systems. However, the rise of straight lines in the 64-bit operating system is steeper. Theoretically, this straight line could be extended to the maximum expansion stage of the PRIMERGY systems under consideration here. However, it should be noted that the overall performance of the system is determined by the weakest component. In addition, the architecture of the 32-bit operating system allows for internal structures to be

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 40)
Fig. 68 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 40)
Fig. 69 · Main memory

and the virtual address space are limited, so that you can not use the maximum possible memory expansion of PRIMERGYs for terminal servers under 32-bit. This is discussed in detail in the chapter "Operating system".

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 40)
Fig. 70 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 40)
Fig. 71 · Main memory
Page 41 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 41 · click to enlarge
Page 41

As already mentioned above, a terminal server user on a 64-bit system occupies more memory than on a 32-bit System. The application with which the terminal server user works is in both cases Microsoft Word, which exists today only as a 32-bit version. The Microsoft Terminal Services are available as part of the operating system in a 64-bit version. As the adjacent graphic shows, the same user who started the desktop and works with Microsoft Word 2003 occupies approx. 60% more memory. This is a consequence of the already mentioned double width of the 64-bit address pointers.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 41)
Fig. 72 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 41)
Fig. 73 · Main memory

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

For our sizing recommendations, the values determined here are used and the memory requirements are estimated rather conservatively, since the system should be dimensioned in such a way that the storage is not scarce from the outset.

The operating system (Windows Server 2003 Enterprise Edition) has a basic requirement of 128 MB, and per user or Client is required an additional 20 MB. The basic requirement of the 64-bit system increases to approx. 150 MB. In the measurement scenario, however, all users work with the same application; therefore, all user groups show the same memory requirements. However, the storage requirement depends on the applications used and must be determined customer-specifically.

Citrix Presentation Server has a slightly higher memory consumption per user than Microsoft Terminal Server, see chapter »Microsoft Terminal Server vs.« Citrix Presentation Server.

Page 42 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 42 · click to enlarge
Page 42

If the processor power is no longer sufficient, the connected clients can no longer be served with acceptable response time even if there is still enough memory. This is illustrated by the adjacent graphics using the example of the PRIMERGY RX200.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 42)
Fig. 74 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 42)
Fig. 75 · Main memory

With a memory expansion of 1 GB, none of the processors used can prove its performance since the main memory that is not to be connected is the limiting factor n. Doubling the main memory from 1 to 2 GB leads to a higher number of users for all four variants. If you double the main memory from 2 to 4 GB, for example, the PRIMERGY RX200 with a 2.4 GHz processor cannot benefit because here the CPU is the weakest component o. In order to find an optimal system for a specific application area, it is therefore always important to establish a balanced ratio of CPU and main memory.

(Medium load profile, Microsoft Office XP, Citrix MetaFrame)

It should be noted that the PRIMERGY models with AMD Opteron processors have the typical direct allocation of memory to the processors. Each processor has its memory directly connected, resulting in fast access. Memory assigned to other processors is addressed via the memory controller of the other CPU, which causes access to be slower. In order to make the most of this architecture, an operating system with nonuniform memory access (NUMA) support is necessary that recognizes individual groups of processor and storage and if possible performs a process's access to the fast-connected memory. The Windows Server 2003 operating system with Service Pack 1 in the 32-bit and 64-bit versions used here recognizes the system architecture and uses NUMA automatically. Conversely, this system architecture shows that a PRIMERGY equipped with only an AMD Opteron processor can use half of the memory banks because the second CPU-internal memory controller is missing for control.

o · n

Page 43 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 43 · click to enlarge
Page 43

As mentioned above, a system that is equipped with too little main memory helps by outsourcing unnecessary data to the hard drive.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 43)
Fig. 76 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 43)
Fig. 77 · Main memory

The Windows operating system and running applications take up more memory if there is still enough main storage available. Only when the free memory falls below a certain threshold value is "cleaned up". This can be illustrated by a measurement with a Microsoft Terminal Server system, which was equipped with only 512 MB main memory. In the adjacent image, the time at which the system detects an imminent memory bottleneck can be recognized on the first vertical line. The “working set” is reduced, which increases the available memory. This measure of the operating system allows more users to work on the terminal server. This outsourcing of unneeded memory areas described here is conditioned by the memory managing mechanisms of the operating system and does not yet fall under the feared »paging«. During pageing, memory areas are written to the hard disk due to the storage bottleneck but these are still in use and therefore have to be loaded from the disk into the main memory again upon next access.

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Using the example of a PRIMERGY RX200 with 81 users, it was examined how the size of main memory affects the response times of the terminal server. In this case, 4 GB of RAM proved to be sufficient, 2 GB of the RAM was considered scarce and 1 GB of it too small.

With almost the same processor load (left bar in each group of four) from 44% to 46%, you can easily see the influence of memory size. If memory expansion is too low of only 1 GB, the terminal server is forced to outsource parts of the operating system on hard drive (Pagen). With 184 accesses per second to the pagefile (second bar from left) compared with 11 at 2 GB and 0.7 at 4 GB memory expansion . The 184 disk accesses per second are also above what a single hard drive can do, as the 3.9 disc queue length (third bar from left) shows.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 43)
Fig. 78 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 43)
Fig. 79 · Main memory

(Medium load profile, Microsoft Office XP, Citrix MetaFrame)

When equipped with 2 GB memory, you can see that the bottleneck has been eliminated. 10 hard drive accesses to the pagefile are completely normal. The time required to start a new Terminal Server Session decreases from 62 seconds to 49.8 (fourth bar).

A further increase in the memory to 4 GB RAM, on the other hand, does not lead to a significant performance improvement. Although access to the pagefile continues to decline, this does not affect a faster start of new sessions.

Page 44 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 44 · click to enlarge
Page 44

When calculating the memory for terminal servers, two special features should not be ignored:

  • “Desktop” or “Published Application?”

For terminal server environments, you do not have to provide the user with the entire desktop with all applications; you can also restrict access. Microsoft Terminal Server can be configured to launch a specific application instead of the desktop. With Citrix Presentation Server, users can also make several individual applications (“Published Application”) directly available; the application is not started within the desktop. This saves about 5 to 10 MB of main memory per user, since the Explorer process does not have to be started. Although a certain environment may not be about this small gain of main memory, one advantage that shouldn’t be neglected is the fact that users can only run their intended applications on the server. So you can better predict the actions of users and also limit them.

The storage needs of a user who starts an application via desktop have been compared with the memory requirements of a customer who launches the same application directly without a desktop. This was investigated on a PRIMERGY RX300 S2 with two processors, 4 GB memory and hyper-threading. The Microsoft Word application from Microsoft Office 2003 was launched once via the desktop and once directly through the RDP client.

The extra storage consumption of the desktop per user is clearly visible, as shown by the graphics.

When the memory is used, the desktop occupies approximately 2 bits of 32-bit operating system. 3.3 MB more RAM, in the case of “Memory Committed” the difference is approx. 4.1 MB, while the “Working Set” without desktop approx. 8 MB is smaller.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 44)
Fig. 80 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 44)
Fig. 81 · Main memory

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Also with the 64-bit operating system, as expected, the storage space per user increases by using desktops. Memory used grows by approximately 6.3 MB, “Memory Committed” by approx. 5.8 MB and the “Working Set” increases by approx. 8.8 MB. Compared to the 32-bit operating system, the 64-bit OS generally consumes more memory per user due to addressing below 64- bit.

Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 44)
Fig. 82 · Main memory
Fujitsu Dot Matrix Printer (68) — Main memory diagram (page 44)
Fig. 83 · Main memory

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Page 45 of the Fujitsu Dot Matrix Printer (68) user manual — Main memory
Page 45 · click to enlarge
Page 45
  • “Logoff” or “Disconnect”?

It makes a difference whether the user terminates his connection to the terminal server by logging out (“logoff”) or if he only interrupts the connection with a “disconnect”. In the latter case, the application continues to run on the terminal server and does not release its resources. The user can then continue his work at this point. When the server's occupied memory is analyzed, the connections in the Disconnect status count naturally. Some applications also need CPU resources while the connection is disconnected. Both Microsoft and Citrix support “disconnected” sessions.

Page 46 of the Fujitsu Dot Matrix Printer (68) user manual — Disk subsystem
Page 46 · click to enlarge
Page 46

Disk subsystem

If one assumes that a server is used as a terminal server and not at the same time as file server or database server, no great demands are made on the disk subsystem. It essentially only needs to host the operating system, paging area and applications available to terminal server clients. The plate accesses are low. The operating system and applications are only accessed when they are first loaded into memory. The paging area does not play a role in principle, because the system must be configured so that it does not get into strong pages, otherwise the performance of the system is significantly affected. You can read more about this in the section »Work Memory«.

Depending on the number of disks in the server system, the following recommendations apply:

Two hard drives, configuration for security: If only two disks are available and safety is emphasised, a mirroring over RAID 1 should be set up for security reasons. There are then operating system, paging area and applications. Mirroring can be realized either with the onboard RAID 1 functionalities, which almost all PRIMERGY servers offer as standard, or software using Windows Server 2003. Alternatively, a RAID controller can also be used.

Two hard drives, Configuration for Performance: To achieve better performance, the pagefile should not be configured on a mirrored disk. If there are only two hard drives available, the operating system and applications should be stored on the first disk while the pagefile should be placed on the second disk. Since the operating system hard drive is not mirrored, it should be ensured that no user data is stored there and that regular backups are performed.

Three or more hard drives: If there are at least three disks available, you should mirror two disks with the help of RAID 1 and accommodate the operating system and applications. The paging area is placed on the third dedicated hard drive, as use of a mirrored disk by the pagefile can have significant impacts on performance. Since these data are all temporary in nature, no protection by RAID is of course necessary here. Configuration of the system hard drive with RAID 5 is strongly discouraged for performance reasons.

The user data and profiles are typically placed on corresponding disk subsystems or external file servers, rather than the local hard drives of a terminal server.

To achieve maximum throughput, all caches should be switched on, including the write-caches. Hard disk write caches contribute significantly to the performance increase, and it is recommended that this functionality available for all hard drives also be used in productive use. The use of a UPS to protect against power failures and associated data loss is recommended.

Page 47 of the Fujitsu Dot Matrix Printer (68) user manual — Disk subsystem
Page 47 · click to enlarge
Page 47

In principle, all hard disks are suitable for use with terminal server. Even relatively slow hard drives do not cause a serious bottleneck in terminal server applications if the disk used is matched to the number of users working with the terminal server. The following figure shows that a 21⁄2′′ IDE hard drive is significantly slower than a high-end 31⁄2” SCSI or SAS disk, however the Disk I/O activity of Terminal Server on the hard drive carrying the operating system are relatively low.

Fujitsu Dot Matrix Printer (68) — Disk subsystem diagram (page 47)
Fig. 84 · Disk subsystem
Fujitsu Dot Matrix Printer (68) — Disk subsystem diagram (page 47)
Fig. 85 · Disk subsystem

With our medium load profile, the simulated users who log on and off continuously during measurement generate an average IO load of 0.45 IOs per second on the operating system disk and below 0.1 IO's per Second on the data disk, both measured under a 32-bit Windows. For smaller configurations, IDE or SATA disks are therefore also suitable, while SCSI or SAS hard drives are recommended for more users.

A terminal server is built on modern server hardware with multi-core architecture and if necessary. A 64-bit operating system is built, so more users can work with it and thus the disk subsystem must also grow in order to meet these requirements. More user sessions will result in more access to the local pagefile and disk subsystem, while with the 64-bit operating system larger amounts of data are also written towards Pagefile. For these reasons, the disk subsystem must be dimensioned accordingly. For the sizing of disk subsystems, a white paper »Disk Subsystem Sizing – RAID Controller« was created.

Whether the disk subsystem is powerful enough can be checked with the help of Windows Performance Monitor. A significant indicator of the load on the disk subsystem is the performance counter »Avg«. Disk Queue Length. This should not be permanently larger than 1 per hard drive, which is available net. In a RAID 1 combination of two hard disks, therefore not larger than 1, in a RAid 1+0 consisting of 6 hard disk, not greater than 3.

In all our measurements lay the “Avg”. Disk Queue Length for the hard drives that carried the operating system, well below 0.5.

During the measurement, the write cache was switched on. In productive use, the use of a UPS for protection against power failures and associated data loss is recommended.

Page 48 of the Fujitsu Dot Matrix Printer (68) user manual — Disk subsystem
Page 48 · click to enlarge
Page 48

If, on the other hand, the terminal server system is simultaneously still used as a file or database server, additional criteria apply to the disk subsystem of course, such as are typical for file or data base servers. However, such a constellation is not recommended unless the system is used only in a very limited workgroup environment. Otherwise, dedicated systems should be set up for the individual tasks such as terminal servers, file servers and database or application servers. This is the only way to tailor a server system optimally for its task area.

Especially in a load-balanced terminal server farm, it is important not to place the user's files locally on the terminal server but rather on a central disk subsystem. For this purpose, a Network Attached Storage (NAS) or even a classic file server is best suited.

The following types of disk subsystems are distinguished:

Direct Attached Storage (DAS) A storage technology in which the hard drives are connected directly to one or more disk controllers built into the server. Typically, SCSI is used in conjunction with intelligent RAID controllers. These controllers are relatively inexpensive and offer good performance. The hard drives can be placed either in the server housing or in external disk enclosures. A DAS offers first-class performance and is a good choice for small and medium installations. However, for large installations limited scaling, complex cabling and restricted clusterability are disadvantageous. Since the disk subsystem is assigned to a server in dedicated form, it cannot be used for centrally storing user files on server farms. Network Attached Storage (NAS) It is basically a classic file server. Such a NAS server specializes in the efficient management of large amounts of data and makes this memory available to other servers via LAN. Internally, NAS servers typically re-use DAS’s disk and controller technology. Classic LAN infrastructures are used for data transport to and from the servers. This allows NAS systems to be constructed in a very cost-effective manner. Since the data storage is not dedicated to a server, it can ideally be used by server farms for central storage of user files. Storage Area Network (SAN) can be built on the basis of Fibre Channel and LAN (iSCSI).

  • Unlike the NAS, SAN on a fiber channel basis does not use LAN for data transport but rather uses its own network of high bandwidth based on fiber channel (FC). To set up a fiber channel infrastructure, special FC controllers as well as special wiring and FC switches are necessary.
  • SAN with iSCSI (IP SAN) uses the LAN for data transport, unlike the fiber-channel based SAN. Over the past year, Internet SCSI (iSCSI) has continued to gain acceptance as another form of SAN. As with Fibre Channel, it is not necessary to have a completely own infrastructure with special boards, special cabling and switches; rather, existing TCP/IP infrastructure can be used or expanded if required. The construction and management of separate storage networks for iSCSI are no different from the establishment and administration of "normal" TCP/IP networks. When operating iSCSI, in most cases special controllers can be dispensed with because there are software solutions that provide the necessary functionality on the network adapters built into PRIMERGY servers. With a SAN, all servers and storage systems are connected. However, the data is dedicated to individual servers so that a SAN, regardless of whether it is Fibre Channel or iSCSI, is not suitable for central storage for user files in a server farm. For the sizing of disk subsystems, a white paper »Disk Subsystem Sizing – RAID Controller« was created.
Page 49 of the Fujitsu Dot Matrix Printer (68) user manual — Network
Page 49 · click to enlarge
Page 49

Network

An important role in the terminal server environment is played by the network. The thin clients of a terminal server are likely to have often – from their origins as older small PC systems – 10-Mbit Ethernet or even slower PPP connections. Of course, such bandwidths are bundled on the server side: if 100 kbit of bandwidness is required per client, for example, a 10-Mbit Ethernet would theoretically be exhausted with 100 clients. With such a number of clients, it is therefore advisable to connect the server with a higher bandwidth of 100 Mbit or Gigabit to the backbone of the network and distribute the bandwidness via switches or hubs to the clients.

Fujitsu Dot Matrix Printer (68) — Network diagram (page 49)
Fig. 86 · Network

If the task scenario requires that the applications running on the terminal server access large amounts of data, databases or even host applications, it is advisable to equip the terminal Server with a further network card for dedicated access to these server services in order thus to separate the traffic between server-server and client-server communication in this three tier environment.

In practice, however, compromises are often made because existing network topologies have to be taken into account and the terminal server has to be integrated therein.

In a terminal server environment, the following network traffic must be considered:

  • Terminal Server and Active Directory Mainly during the login process of each user to the domain, information from the Active DirectorY is required. This is often done in real configurations also over a network segment that is separate from the client networks.
  • Clients and Terminal Server keyboard and mouse input are sent to the terminal server, and changes in screen display are transferred to the client.

Terminal server clients can be connected via WAN, LAN or W-LAN, with wireless connections using W-ifi becoming increasingly popular. The ICA protocol in particular, with its advantageous compression, is optimized for connections down to 14.4 kbit/s.

Page 50 of the Fujitsu Dot Matrix Printer (68) user manual — Network
Page 50 · click to enlarge
Page 50

If the data of the terminal server sent and received during a measurement from the client's point of view is displayed graphically, it can be seen that the data transmitted per simulated user over the network linearly scale. This linear scaling can be observed in all PRIMERGY systems. This constant increase in the data rate is not achieved until high load.

Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 87 · Network
Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 88 · Network

On a PRIMERGY RX200 S2, the network load of up to 40 users was examined in this example. The graphic “ICA Client” illustrates the measurement results. In the load profile medium, on average about 0.72 KB per second is sent to the terminal server in 11.03 packets and 2.41 KB are received from the terminal Server in 10.55 packet per second. This measurement was based on the ICA protocol.

(Medium load profile, Microsoft Office 2003, Citrix MetaFrame)

If the network data rate of a measurement is compared with the ICA protocol to a comparable measurement using the RDP prototype, it can be seen that more data must be transmitted in the direction of the client (received) under the RPD protocol. In the medium load profile per user, this is on average about 0.73 KB per second in 11.59 packets in transmission direction and 6.04 KB Per second in 13.75 packet in reception direction as seen from the client. The graphic “RDP Client” on the same scale shows the measurement result of Microsoft Terminal Server.

Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 89 · Network
Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 90 · Network

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 91 · Network
Fujitsu Dot Matrix Printer (68) — Network diagram (page 50)
Fig. 92 · Network

The difference between Microsoft Terminal Services and Citrix Presentation Server is further illustrated by a different graphical representation of the measurement results, as shown in the adjacent image. For a PRIMERGY RX300 S2 with 40 users, as in this example, up to 150% more data is transferred from the server to the client on Microsoft Terminal Services than Citrix Presentation Server.

In the LAN environment, the underlying network will not normally be a bottleneck. However, in the WAN environment there is less bandwidth available per user.

Page 51 of the Fujitsu Dot Matrix Printer (68) user manual — User behaviour
Page 51 · click to enlarge
Page 51

User behaviour

In addition to the server hardware, which was discussed in detail in previous chapters, there are other variables that decisively influence the behavior of the terminal server. The way in which users work plays an important role. This was investigated using the example of input speed.

What influence does user behavior have on the performance of Terminal Server?

The input speed has a significant influence on the performance of a terminal server. The variation of the input speed alone can cause a server to be underutilized or overloaded in otherwise identical conditions. Under laboratory conditions, all simulated users work continuously and at the same input speed. In reality, this will vary greatly.

For terminal server applications, keyboard input and mouse clicks from the user are transferred to the server and changes of the screen back to the client. Therefore, each action of the user will activate several processes on the server system and also trigger network traffic.

The graph shows the number of users that a Microsoft Terminal Server can serve with preset response times, for 25%, 50%, 100% and 200% input speeds. The real recorded input speed corresponds to 100%. At 50%, the simulated user only type half as fast and at 200% he enters twice as quickly. For the measurement, a PRIMERGY RX300 S2 with two 3.6 GHz processors, on-hyper threading and 4 GB memory was used as terminal server test system.

Fujitsu Dot Matrix Printer (68) — User behaviour diagram (page 51)
Fig. 93 · User behaviour
Fujitsu Dot Matrix Printer (68) — User behaviour diagram (page 51)
Fig. 94 · User behaviour

(medium load profile with different input speeds),

Microsoft Office 2003, Microsoft Terminal Services

By doubling the input speed from normal 100% to 200%, the number of users that a terminal server can serve with predefined response times is reduced by 86.5% from 125 to 67. The limiting factor is the CPU.

When the input speed is reduced from 100% to 50% and 25%, the terminal server can serve more users. The number is 177 or 1. 230 users, but the server runs into a memory bottleneck while the CPU still has reserves.

Input speed

Page 52 of the Fujitsu Dot Matrix Printer (68) user manual — Operating system
Page 52 · click to enlarge
Page 52

Operating system

In addition to the server hardware, which was discussed in detail in previous chapters, there are other variables that decisively influence the behavior of the terminal server. One of them is the operating system, which today is used either in the 32-bit variant or in the 64-bit version. The performance of a terminal server can be determined by the limitations of the 32-bit operating system, and it often comes up as to whether these limits can be overcome using a 64-bit OS. However, basic knowledge of the differences between the two operating system versions is necessary to understand this; therefore, an overview of the 64-bit operating system and its advantages and disadvantages compared with 32-bit will be given first.

Windows Server 2003 R2

The current version of Windows Server 2003 is Release 2, called R2 for short. The 32-bit and 64-bit versions of Windows Server 2003 R2 are based on the same code base, so they can be compared directly. Windows Server 2003 R2 is identical to the Windows Server Service Pack 1 except for some additional services and tools. Compared to Windows Server 2003, Windows Server 2004 R2 includes some performance improvements for terminal server systems:

  • Improvements in memory management paging behavior.
  • Improvements in blocking registration.
  • Improvements in kernel timer processing.

For comparison between Windows Server 2003 and Windows Server 2004 R2, measurements were performed on a PRIMERGY RX300 S2 with the Windows Server 2006 Enterprise Edition, both with and without an installed Service Pack 1. The processor used was a Xeon 3.6 GHz CPU with 1 MB SLC. Hyper-threading was on. The graphic below shows the performance improvements with Windows Server 2003 Service Pack 1. In the same measurement environment, the same system can serve up to 9% more users with Service Pack 1 than without a service pack. The performance gain from Service Pack 1 is lower on a monoprocessor system than on a system with several processors.

Fujitsu Dot Matrix Printer (68) — Operating system diagram (page 52)
Fig. 95 · Operating system
Fujitsu Dot Matrix Printer (68) — Operating system diagram (page 52)
Fig. 96 · Operating system

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

All other measurement results in this document were determined with Windows Server 2003 R2.

Page 53 of the Fujitsu Dot Matrix Printer (68) user manual — 2003 R2
Page 53 · click to enlarge
Page 53

Today, two different 64-bit platforms are established that differ fundamentally.

Intel Itanium (IA64) 64-bit PRIMERGY systems based on Intel Itanium and Itanonium-2 processors have been available for a long time. However, these processors are not code-compatible with 32-bit applications (x86). x86 applications are merely emulated on Itanium systems, but this means a corresponding loss of performance by the emulation layers. Although Itanium systems have been available for years, there are still very few applications optimized and compiled for itanium processors. While Windows Server 2003 and the terminal services are available for Itanium systems, Citrix Presentation Server is not available for itanium, nor are standard office applications such as Microsoft Office available for the Itanonium platform. Therefore, it would be extremely inefficient to run a terminal server on an Itanium architecture because (almost) all user applications would have to be emulated. This is effectively slower than a terminal server based on the 32-bit x86 architecture.

x64 A softer migration path from 32-bit to 64-bit allows for processors that are 100% compatible with the x86 architecture and offer extensions for 64- bit. These include the AMD Opteron with the AMS64 Achitektur and Intel Pentium and Xeon processors of the latest generation with EM64T architecture. Both architectures are usually referred to as x64 for short.

Since all 32-bit applications run without emulation on an x64 system, the overhead is significantly lower than in an Itanium system. Nevertheless, it is of course optimal if x64 versions of the software are available. In the second quarter of 2005, Microsoft also released an x64 version of Windows Server 2003 at the same time as Service Pack 1 for Windows Server. Both versions are available today in the "R2" version.

Many system-related applications and all those that contain driver components must be customized for x64 systems, as they are not executable in 32 bit mode. Examples of applications that have been or are being customized specifically for 64-bit use include Citrix Presentation Server, Microsoft SQL Server and Microsoft Exchange Server. 16-bit applications for DOS or Windows are generally no longer executable, this is especially a problem for applications with a 16- bit installer.

Other 32-bit applications can run directly under the x64 operating system. This includes Microsoft Office. The 64-bit Windows provides the WoW64 (Windows on Windows64) subsystem to enable smooth operation of 32-bit applications. In the WoW64, accesses to memory, registry and file system are isolated. Unlike the IA64 system, where you need to completely emulate your 32-bit application, the x64 processor is 100% compatible with x86 and therefore the overhead of a 32- bit application on a 64-bit operating system is low and can be neglected. However, a 32-bit application will consume more memory when running on a 64-bit operating system, how much more depends upon the application.

The following table gives an overview of the system platforms, Windows products and their requirements for device drivers and applications.

Server platform x86 x64 x64 IA64

2003 R2

2003 R2

2003 R2

Standard Edition Enterprise Edition Datacenter Edition

Standard Edition Enterprise Edition Datacenter Edition

Standard x64 Edition Enterprise x64 edition Datacenter x64

Enterprise Edition for Itanium-based Systems

Datacenter Edition for Itanium-based Systems

Operating system 32-bit 32- bit 64-bit 64-Bit

Device driver 32-bit 32- bit 64-bit 64-Bit

Applications 32-bit 32- bit 32-Bit and 64-bit 64-Bit

Show 6 more labels / short text on this page
64-bit · Windows Server · Windows server · Windows Service · Windows Product
Page 54 of the Fujitsu Dot Matrix Printer (68) user manual — Usable storage
Page 54 · click to enlarge
Page 54

The main difference between 32-bit and 64-bit lies in the amount of usable memory. An overview of the differences between 32-bit and 64-bit Windows products that can be used sensibly for terminal servers is given in advance by the following table before considering in detail the effects of these operating system characteristics for terminal Server:

Fujitsu Dot Matrix Printer (68) — Usable storage diagram (page 54)
Fig. 97 · Usable storage

Windows Server 2003 R2 Windows Server 2004 R2 x64 Windows Product Standard

Number of processors 1 – 4 1 – 8 1 – 3 1 – 5

Max. RAM 4 GB 64 GB (WITH PAE) 32 GB 1 TB

2 GB 2 GB Virtual address space of a 32-bit process 3 GB when booted with /3GB Switch

System Page Table Entries approx. 900 MB 128 G/M

With the 32-bit version of Windows Server 2003, 4 GB is a magic limit; more cannot be addressed with a 32- bit address. The Windows Server 2003 system architecture divides the 4GB memory by default into 2 GB for the operating system and 2 GB of applications. In the 2 GB used by the operating system, all data structures and information of the core are kept. Three specific data areas are listed here: Paged pool area, which: System Page Table Entries (PTE) Area and the System File Cache. Memory from the Paged pool area is requested by Kernel-Mode components while the PTE Area for kernel stack allocations. Immort System File Cache Memory images of open files are kept. These areas share a memory area and the boundary between them is set fixedly at system start. If the operating system runs out of memory in one area during running time, this cannot be compensated for by the other areas. The result is that no new users can be logged in anymore or unexpected errors occur.

In Windows Server 2003, optimizations were made to make the most of the virtual address space. The preset values have been adjusted so that an improvement is achieved for most common configurations. This means that Windows Server 2003 allows more Terminal Server users to work on a system than Windows 2000 servers. Microsoft states that up to 80% more so-called “knowledge workers” and over 100% more “data entry workers” can be operated. This depends, of course, heavily on the user profile and system used, and is only true for those cases where virtual address space has been the bottleneck rather than CPU or physical memory.

For very special configurations, the values can of course be individually adjusted; PAE can also be switched on. For more details, see the chapter »Physical Address Extension (PAE)«.

For more information, see Microsoft's Knowledge Base article Q247904 and the document "Windows Server 2003 Terminal Server Capacity and Scaling".

Usable storage · 32-bit

Page 55 of the Fujitsu Dot Matrix Printer (68) user manual — Usable storage
Page 55 · click to enlarge
Page 55

64-bit One of the main advantages of 64-bit is its extended address space. Today’s servers can be easily equipped with more than 4 GB of memory. This can only be addressed on 32-bit systems with increased effort. With 64-bit Windows, 264 bytes = 16 exabyte can theoretically be addressed directly. Windows divides this (at least from today’s perspective) gigantic address space into different areas, so that for the kernel and each 64-bit process an address room of 8 TB is available. For 32-bit applications running in the so called compatibility mode, an address range of 4 GB is available per application, but that too is more than with a pure 32-Bit operating system, where it is maximum 3 GB. In particular, applications that are memory- and not CPU-limited benefit from the 64-bit architecture. However, it should not be forgotten that 64-bit operating systems and 64-Bit applications usually require more memory than the 32-bit versions, because all address pointers are twice as wide at 64- bit. In the extreme case, this leads to a double memory requirement at 64-bit compared with 32-bit. Comparison of 32-bit and 64-bit

Terminal server systems with their multitude of users usually use many smaller applications. Here it may happen that the number of users is not limited by memory requirements per application, but rather due to lacking internal resources in the 32-bit operating system core. This limitation is eliminated by the use of a 64-bit operating system. If there are sufficient hardware resources available, i.e. neither the CPU nor memory is the limiting factor, then significantly more users can be operated on a 64-bit system than on a 32-bit one. For this test, 32 GB of main memory was used. As the graphic shows, here is the 64-bit operating system clearly in advantage and can serve more than twice as many users as the 32-bit Windows. The reason for this is the operating system architecture, more precisely kernel resources. The 32-bit operating system has an address space of 2 GB available to store its data, including kernel tables and System Cache. If the computing power is sufficient, the number of users reaches an order of magnitude that is too high for a 32-bit operating system. The kernel tables are fully occupied, resulting in paging activities even though over 20 GB of main memory is still free. Furthermore, the system cache is also overloaded and cannot be enlarged further, which leads to a poor hit rate in the cache. As a result, the plate accesses also increase abruptly. As soon as the hard drive instead of memory has to be accessed, this immediately becomes noticeable in a deterioration in response times. If the terminal server were to be further burdened beyond this congestion situation, the applications would run for errors or users could no longer log on to the terminal Server.

Fujitsu Dot Matrix Printer (68) — Usable storage diagram (page 55)
Fig. 98 · Usable storage
Fujitsu Dot Matrix Printer (68) — Usable storage diagram (page 55)
Fig. 99 · Usable storage

(Light load profile, Microsoft Office 2003),

Microsoft Terminal Services

Page 56 of the Fujitsu Dot Matrix Printer (68) user manual — Physical Address Extension (PAE)
Page 56 · click to enlarge
Page 56

Physical Address Extension (PAE)

On a 32-bit system with a 32 bit address space, only 4 GB of memory can be addressed. To overcome this limit and use more memory, PAE can be switched on on this platform.

If a terminal server is limited by the power of computing and not memory, PAE can have a slightly negative impact. As the diagram shows, turning on PAE on a system where CPU is bottleneck results in a slight performance drop of 2% to 6%. However, today's dual-core processors are already so capable in a 2-socket system that with 32-bit systems an expansion of memory of 4 GB will no longer be sufficient and the low performance loss due to PAE is compensated by the high processing power.

Fujitsu Dot Matrix Printer (68) — Physical Address Extension (PAE) diagram (page 56)
Fig. 100 · Physical Address Extension (PAE)
Fujitsu Dot Matrix Printer (68) — Physical Address Extension (PAE) diagram (page 56)
Fig. 101 · Physical Address Extension (PAE)

(Medium load profile, Microsoft Office 2003, Microsoft Terminal Services)

This becomes visible on a 32-bit system in which the limiting factor is not the CPU but rather the working memory. The same PRIMERGY system was equipped with 4, 8, 16 and 32 GB of RAM and the maximum number of light users were determined. The graphic below shows the measurement results for the 32-bit operating system compared to 64-bit. At 4 GB, the size of physical main memory is the bottleneck that results in paging activities. With an increase in memory to 8 GB, more users can be served; this expansion is the optimal configuration for the 32-bit system. In addition, the operating system resources become a bottleneck and further memory upgrade is therefore not beneficial or can even have negative effects. This can be explained by the PAE addressing, which is more complex with larger storage and occupies more of the already limited kernel memory. In contrast, the 64-bit operating system also scales beyond 8 GB and the number of users can be further increased by increasing main memory as long as sufficient processing power is available.

Fujitsu Dot Matrix Printer (68) — Physical Address Extension (PAE) diagram (page 56)
Fig. 102 · Physical Address Extension (PAE)
Fujitsu Dot Matrix Printer (68) — Physical Address Extension (PAE) diagram (page 56)
Fig. 103 · Physical Address Extension (PAE)

(Light load profile, Microsoft Office 2003, Microsoft Terminal Services)

Even under a 32-bit operating system, a terminal server can be operated with PAE on powerful hardware with memory expansion above the 4 GB limit. However, there is a limit that will be reached sooner or later depending on user load, from which the 32-bit operating system no longer scales. The 64-bit operating system without the limitations on kernel resources can be equipped with more main memory, which is especially advantageous for powerful servers with multi-core architectures.

Bottleneck of kernel resources · Too little memory

Page 57 of the Fujitsu Dot Matrix Printer (68) user manual — Number of processes
Page 57 · click to enlarge
Page 57

Even if it sounds paradoxical, there may be constellations in which, although sufficient CPU and memory resources are available, performance bottlenecks can occur. Disk I/O or networks are not a bottleneck in this situation either, but rather the system architecture. This situation is provoked in particular by a large number of users who induce many processes with low uniform load. As already explained in the section "Measurement method", the processor queue plays a role that should not be neglected. Depending on the processor power and number of processors, there is a point at which the system can no longer operate any further processes and thus clients. In principle, the system is only busy managing processes. Or in “technical Chinese”: In a multitasking operating system, each process receives a time slice that it does not release quickly enough. This situation could only be resolved by smaller time slices and thus larger turn-around times. However, in other load situations this would have a negative impact on the baseload generated by the operating system. The number of processes starting from this situation depends on the available CPU power and amount unfortunately also on the application used, so that no general formula can be specified for it. For heavy users, this effect is usually not apparent because other resources such as memory and computing power are the dominant limitation factors.

Number of processes

Page 58 of the Fujitsu Dot Matrix Printer (68) user manual — Terminal Server Version
Page 58 · click to enlarge
Page 58

Terminal Server Version

Microsoft Terminal Server vs. Citrix Presentation Server

What are the differences between Microsoft Terminal Services and Citrix Presentation Server?

The biggest differences between the Microsoft Terminal Services and Citrix Presentation Servers are in the network area. This has already been discussed in the chapter “Network”. If the network is not a bottleneck, differences in the number of users that can serve a terminal server are within the scope of measurement uncertainty.

If you look at the performance counter in detail, you can see other differences between the different terminal server implementations apart from the network. Since the Citrix versions differ, the differences are listed in the table below with the tendency being the same for all CitriX products. Citrix Presentation Server uses slightly more main memory per user, both the working set and committed bytes are higher, reducing the free main storage available for Available MBytes.

Fujitsu Dot Matrix Printer (68) — Terminal Server Version diagram (page 58)
Fig. 104 · Terminal Server Version

The Citrix solution has advantages for interrupts, fewer interrupts are needed at the same user load. However, there are disadvantages with the context switches; here more context switche occurs compared to Microsoft Terminal Services. No significant differences can be seen in the hard disk accesses. However, for a terminal server in real use that does not work at its performance limit these differences are not relevant to the performance.

Citrix Presentation Server Version

How does an upgrade of Citrix software affect?

For comparability with older measurements, some Citrix measurements were performed using the CitriX MetaFrame XP 1.0 FR3. The successor product was Citrix MetaFrame Presentation Server 3.0 (MPS 3.0). Today, Citrix Presentation Server 4.0 is up-to-date, which comes in a 32-bit version and 64-bit one.

On a PRIMERGY RX300 S2, the difference between Citrix versions under Windows Server 2003 Enterprise Edition was examined. Only the software on the terminal server was updated, and the ICA client on load generators remained unchanged.

When comparing Citrix MetaFrame 1.0 FR3 with CitriX MetaFRAMe Presentation Server 3.0, the same absolute number of users is achieved; processor performance is the limiting factor here. Even if the absolute number of users is the same in both cases, you can see differences between the two versions when comparing the performance counter recorded during the measurement. MPS 3.0 overall memory consumption is higher, and more processes are started per user.

Whether you reach the same number of users with Citrix Presentation Server 4.0 as with its predecessor products depends on the main memory expansion of the PRIMERGY system used. Citrix Presentation Server 4.0 occupies more main memory per user, even in the 32-bit version. Significantly more main memory is consumed by the 64-bit version of Citrix Presentation Server, as it is common with a 64- bit program. The table shows the memory consumption of different Citrix versions per user, as determined by the medium load profile in our measurement environment.

Citrix version MB per user

MetaFrame XP 1.0 20 33 38

MetaFrame Presentation Server 3.0 20 33 36

Presentation Server 4.0 22 35 38

Presentation Server 4.0 x64 30 45 44

No differences can be seen in the resources “Disk”, “Network” and “Processor”.

Show 4 more labels / short text on this page
Committed · Working Set · Bytes per User · Per User
Page 59 of the Fujitsu Dot Matrix Printer (68) user manual — Applications
Page 59 · click to enlarge
Page 59

Applications

The version and certain settings of the applications provided under the Terminal Server can also affect the performance of the terminal server.

To what extent does a new version of an application affect the performance of Terminal Server?

Experience has shown that newer versions of an application provide more functions, but have higher requirements for the system and require more resources.

This was examined using the example of Microsoft Office. Microsoft Office XP was compared to the newer Microsoft Office 2003. Microsoft Word served as an application in the medium load profile, and Microsoft terminal services with the RDP protocol were used as a terminal server.

The maximum number of users that a terminal server can serve is limited by the processor performance and does not depend on which version of Office is used.

However, there are also differences in the detailed comparison of performance counters. It was found that Office 2003 has slightly higher CPU usage compared to Office XP, but the differences are not significant. Office 2003 is less read from the system disk, but more written. Since the written document is of equal size in both versions, there are no differences between the data disk. Office 2003 occupies more network resources as more data is sent to and received from the network. This also increases the number of interrupts. In the Office 2003 environment, fewer processes are started on the Terminal Server system. Office 2003 uses slightly fewer main memory resources than Office XP. On average-used terminal server systems, however, these differences do not result in a different number of users.

Settings for Microsoft Office in a Terminal Server Environment

Although Microsoft Office XP and Microsoft Office 2003 can be installed on a terminal server without any problems, there are some recommendations from Microsoft that could lead to improved performance when deploying these applications in a Terminal Server environment. For Office 2003, the following registry key can be set to make your connection status queried less frequently:

[HKEY CURRENT USER\Software\Microsoft\Office\11.0\Outlook\RPC] "ConnManagerPoll"=dword:0x00000600 If the RPC key does not exist, it must be created beforehand.

Other recommended settings of the Microsoft Office configuration are:

  • Turn off frequently used backup operations in the background:
  • “Save AutoRestore Info” in Word.
  • “Automatically save unsent messages” in Outlook.
  • Automatic autoarchiving of Outlook messages.
  • Turn off background checks:
  • "Check grammar during input" in Word.
  • “Check Names Automatically” in Outlook.
  • “Edit Email with Word” to disable.

These user-specific settings must be changed for all users of the terminal server.

This can be easily configured for all users if the installation capability offered by the application compatibility layer of Terminal Server is used. For this purpose, after installation of the application and before a user has logged in, the following command must be set off from a command prompt:

Then the application to be adapted (e.g. Word) started. In the Options dialog, you can make any desired configuration changes (for example turning off automatic grammar checking) and close your application. Then call the following command:

In this way, the configuration changes of the registration are secured by the application compatibility layer and entered into each user's registration at the next logon.

Microsoft Office version · Change user /install · Change users /execute

Page 60 of the Fujitsu Dot Matrix Printer (68) user manual — Infrastructure
Page 60 · click to enlarge
Page 60

Infrastructure

In our investigations, we have always considered the terminal server in isolation. In the measurement environment, there were other components with which the terminal server works together, but these were always constant and designed so that they were not the bottleneck. In reality, however, this is not always the case. This section discusses which other components of the infrastructure have an impact on user perception in a terminal server environment, which could be reflected in a negative overall impression.

In addition to the server resources and network, of course, the client also belongs to the overall environment of server-based computing. So it's also related to the client authorizes the question of what influence its performance has on the overall configuration. Since the actual application runs on the server in server-based computing, the CPU power of the client is only required for operation of the network and image processing which cannot be neglected with regard to effort. It was found that, depending on the client system used, the total execution time of an application is by no means reduced to approx. 10% varies. However, these differences are likely to be reflected in real-world operation at best by a subjective performance impression of the user and have no direct influence on the performance capability of the terminal server system.

How “thin” the thin client can be depends primarily on the demands made of the applications used for graphics, such as resolution, color depth and complexity (text, graphic) as well as from e.g. Additional requirements for locally running applications on the client that go beyond pure server-based computing.

Today, there is a growing demand to connect mobile devices such as notebooks or PDAs to terminal servers in addition to the location-based (thin) clients. Usually, these devices are then no longer connected via wired networks but rather over radio LANs (W-LAN) or mobile radio networks (e.g. General Packet Radio Services (GPRS) or Universal Mobile Telecommunication System (UMTS).

This is not a problem, especially in the case of resource-saving ICA protocol. The ICA client is also available for many common PDAs and the design of the ICA protocol makes it particularly suitable for slow connections. For users who work constantly and exclusively with terminal server applications, such a device is certainly not the ideal client, but someone who has to work mobile and only needs occasional access to a terminal server benefits from the flexibility and functionality of this solution.

Fujitsu Dot Matrix Printer (68) — Infrastructure diagram (page 60)
Fig. 105 · Infrastructure

These clients are just a few possible examples of the range of terminal server clients from Fujitsu Siemens Computers.

Clients

Page 61 of the Fujitsu Dot Matrix Printer (68) user manual — DNS
Page 61 · click to enlarge
Page 61

Terminal server users normally authenticate themselves in a domain, i.e. the terminal server checks the entered user credentials against the Active Directory. Except in very small workgroup environments, Active Directory and Terminal Server should always run on different systems and no users should be managed on the terminal server itself. The Active Directory has the same requirements as in an environment without a terminal server, but neither the Active DirectorY nor the network between Active Director and Terminal Server should be the bottleneck.

In a user profile, the individual user settings are stored. Even when terminal server users login to a domain in an Active Directory environment, their user profiles would be stored on the terminal server as standard. In particular, in a load-balanced terminal server farm, however, the user profiles will be stored centrally on a server in the network so that the user always finds the same settings regardless of which terminal server his session is executed. This functionality is already available for so-called “roaming users” who log in to different workplaces. When using terminal servers, it should be noted that e.g. different user profiles have to be managed, namely if the local operating system of the workstation differs from that of the terminal server or when there are different applications. For this reason, a Terminal Server user profile can be configured in addition to a locally loaded user profile. A special variant of the server-based user profile is the Mandatory User Profile, a user profile that the user cannot change. Server-based user profiles should generally be as small as possible.

DNS

DNS is also used in the terminal server environment to realize name resolution of connections. Especially in the load balancing environment, a virtual name is linked to a virtual or real IP address so that a terminal server farm presents itself as a server towards the user. This, in turn, requires DNS to be always accessible so that a user can establish a connection with the terminal server. DNS is generally not a bottleneck, this service should only be designed to be fail-safe and redundant.

Terminal Services Licensing Server

When a user logs into a terminal server, he will search for a license server and request from him a valid license to access it via Terminal Server. In larger configurations, this license server will be its own system.

Especially in load-balanced terminal server farms, the user files will not be on local hard drives of Terminal Server systems but rather on File Servers or NAS Systems. Presumably, in larger environments also other services such as e-mail, databases etc. servers for applications such as Exchange, SQL or SAP R/3 together with the terminal server will be found. If only a small network bandwidth is required for connecting the clients to the terminal server, this does not apply to connecting the terminal Servers to the backend servers. There should be enough network and computing capacity available here. For the individual servers, we refer to our own performance studies and sizing guides as this would go beyond the scope of this paper.

It is not recommended to run backend services on a terminal server.

Active Directory · User Profiles (User Profiles) · Backend servers

Page 62 of the Fujitsu Dot Matrix Printer (68) user manual — Comparison of measuring tools
Page 62 · click to enlarge
Page 62

Comparison of measuring tools

As already mentioned above, different measurement tools can provide various user numbers as a result because the user profiles and measuring methods are different. But although the absolute numbers are different, one can compare the relative scaling of the server system.

Microsoft Test Tools and Scripts

Microsoft has developed test tools and scripts that can be used on client computers to simulate user sessions in a realistic manner. The programs used to perform the tests are part of the Windows Server 2003 Resource Kit.

Terminal Services Scalability Planning Tools (TSScaling) is a collection of tools designed to help plan the performance of Microsoft Windows Server 2003 terminal servers. They allow you to simulate load on a server relatively easily. This allows to find out whether an environment can handle the load it expects.

The measurement environment consists of hardware and software tools, as shown in the following figure:

Fujitsu Dot Matrix Printer (68) — Comparison of measuring tools diagram (page 62)
Fig. 106 · Comparison of measuring tools

The Terminal Server System is “System under Test”. As further components are in the test laboratory:

  • Domain Controller and Test Controller: Dynamic Host Configuration Protocol (DHCP) and DNS Server of the domain. Manages the 35 workstations including script monitoring, software distribution and central restart of the workstation.
  • Workstations (35): Each of the 35 workstations can run a variety of Terminal Services client sessions.
  • Mail Server and Web Server: This server is required for Knowledge Worker tests.

Testing tools and environment

Page 63 of the Fujitsu Dot Matrix Printer (68) user manual — Comparison of measuring tools
Page 63 · click to enlarge
Page 63

The test programs include the following automation tools:

  • Robosrv.exe is the tool that controls the server side of load simulation. Together, RoboServer and RoboClient ensure the automation of servers and clients. RoboServer is typically installed on the test controller and must run before an instance of RoboClient can be started. After each instance of both RoboServer and RoboClient is running, Roboserver prompts the roboclient to execute scripts that load the terminal server at predetermined intervals.
  • Robocli.exe is the tool that controls the client side of load simulation. Together, RoboServer and RoboClient ensure the automation of servers and clients. RoboClient is typically installed on the test client computers and requires a running roboserver before an instance of Roboclient can be started. RoboClient receives commands from RoboServer to execute scripts that load the terminal server at defined intervals.

The test programs include the following testing tools:

  • Qidle.exe is deployed in an automated environment and determines when one of the currently running scripts has failed, requiring intervention from an administrator. QIdle determines this by periodically checking whether one of the sessions logged on to the terminal server is inactive for more than a certain time. If any idle session exists, QIdle will notify the Administrator with a beep.
  • Tbscript.exe is a script interpreter that supports the client side of load simulation. It runs Visual Basic Scripting Edition scripts and supports certain extensions necessary to control the Terminal Server Client. With the help of these extensions, the user can create scripts that generate keyboard and mouse input on the client computer and sync execution based on the strings output by applications within the session.

Two scripts were developed based on the Gartner Group specifications for Knowledge Worker and Data Entry Worker defined as follows.

Collect information, evaluate it and communicate this in a decision support process. The cost of downtime is variable but highly recognizable. Flexible tasks through projects and ad-hoc needs. Make your own decisions, what is being worked on and how the task will be accomplished. Examples of work tasks include marketing, project management, sales, desktop publishing, decision support, data mining, financial analysis, executive and monitoring management, design and authoring.

Enter data into computer systems, such as transcripts, order entry, office work and manufacturing. In addition, the “Data Entry Worker” script was measured in a “dedicated” mode. Windows Explorer has not been launched for every user. A detailed flow chart detailing the functions of scripts is included in the Terminal Server Scaling and Capacity Planning document.

Light Data Entry Worker

Windows Server 2003, Enterprise Edition and Office 2003 were installed taking into account the settings as described in the “Appendix B: Terminal Server Settings” of the “Terminal Server Scaling and Capacity Planning” document. To return to a clean state of all components, servers and clients were automatically reset before each test run.

Response times based on user actions are used to determine if and when a terminal server is overloaded. Scripts on the client side control user simulation and record response times for a series of simulated user actions.

A script contains several sequences. A sequence begins when the test script presses a button that is sent from the client to an application in its session. This keystroke results in an indication of the application. For example, CTRL+F opens the menu “File”, which then uses the termOpen"indicated".

Test scripts · Heavy Knowledge Worker · Test methodology

Page 64 of the Fujitsu Dot Matrix Printer (68) user manual — Results of Fujitsu Siemens Computers and Microsoft
Page 64 · click to enlarge
Page 64

The response time is the time from pressing a button to displaying the string. In order to be able to measure the response time accurately, the measured value is calculated from a reference time source using two initial time values t 1 and t 2 before and after a keystroke has been sent. t1 is the time when the test controller sends the instruction to the client and t2 represents the time that the client sends a keystroke to the server. A third measurement t 3 is performed when the relevant string has been received by the client. The time is measured in milliseconds. Based on these measured values, the response time is estimated in intervals (t3 – t2, t3 – T1). In practice, the measurement error (the time between t1 and t2) is less than 1 millisecond and response times are approximate to t3 – t1.

For each scenario, the Test Controller workstation starts groups of ten client connections on the workstations with a 30-second interval between connections. After a group of ten client connections has been started, a stabilization period of five minutes is waited for in which no further sessions are launched. After this period, the Knowledge Worker script starts the four applications used during testing within 5 minutes. This prevents any influence between the individual groups of ten client connections.

As the number of users increases, a point of deterioration is set for each action where response times worsen to a value that is considered significant.

  • For actions that initially have a response time of less than 200 ms, the point of deterioration is reached when the average response time exceeds 200 mS and 110% of the initial response time.
  • For actions that initially have a response time of more than 200 ms, the point of deterioration is reached when average response time exceeds initial response time by 10%.

This criterion is based on the assumption that a user does not notice any deterioration in response times at times below 200 ms.

This test supports the previous testing system, where the limit of the system load was determined by a so-called “canary” script that expired in the stable phase between logon groups. The Canary script was expired before a user logged in to the system, and the time it took for the script to pass (elapsed time) is recorded. This elapsed time is the baseline, it is considered as a base line for response rate in a given server configuration. This method set the maximum load when the total time for a run of the Canary script was 10% higher than the baseline. However, the response time method is considered more accurate because it measures current user experience as a key parameter and also takes into account logon phases influence and provides more data for decision making. The Canary script method can be more efficient in configurations that only operate a small number of users and where the response time method does not provide enough response times.

A detailed description can be found in the “Terminal Server Scaling and Capacity Planning” document.

Results of Fujitsu Siemens Computers and Microsoft

To compare the values of Microsoft’s Terminal Server Scaling and Capacity Planning tool and Fujitsu Siemens Computer’s T4US tool, both Microsoft and Fujitesu Siemens computers produced a series of measurements using the same PRIMERGY models:

  • A PRIMERGY RX300 S2 server with two processors with 3.6 GHz, 1 MB SLC and 8 GB of RAM. Hyper-threading was on and Microsoft Office 2003 was used as an office application. The operating system used was Windows 2003 Enterprise Edition in the 32-bit and 64-bit versions.
  • A PRIMERGY TX600 server with up to four processors with up 2.8 GHz, 2 MB SLC and 8 GB of RAM. Hyper-threading was on and Microsoft Office 2003 was used as an office application. The operating system used was the 32-bit version of Windows 2003 Enterprise Edition.

Microsoft uses the Terminal Server Scaling and Capacity Planning tool, while Fujitsu Siemens Computers uses its own T4US tool. The medium load profile used with T4US is explained in detail in the chapter “Load Profile”. The user profile of Microsoft’s Terminal Server Scaling and Capacity Planning tool was described above in this section.

Page 65 of the Fujitsu Dot Matrix Printer (68) user manual — Results of Fujitsu Siemens Computers and Microsoft
Page 65 · click to enlarge
Page 65
Fujitsu Dot Matrix Printer (68) — Results of Fujitsu Siemens Computers and Microsoft diagram (page 65)
Fig. 107 · Results of Fujitsu Siemens Computers and Microsoft
Fujitsu Dot Matrix Printer (68) — Results of Fujitsu Siemens Computers and Microsoft diagram (page 65)
Fig. 108 · Results of Fujitsu Siemens Computers and Microsoft

A series of measurements was set up on the PRIMERGY TX600 system. As the adjacent graph shows, CPU scaling factor from one to two CPUs is always 1.6 regardless of which load profile is used. Scaling from two to four processors is 1.25 for both measurement scenarios. However, the absolute user numbers are different.

Another series of measurements was performed on a PRIMERGY RX300 S2 system from Fujitsu Siemens Computers, which supports both 32-bit and 64-bit operating systems. On this hardware, tests were also carried out by Microsoft with 32-bit Windows Server 2003 operating systems (with Service Pack 1) and the 64-bit version of Windows Server 2002. For all measurements, the system was equipped with enough main memory to ensure that working memory is not a bottleneck in this comparison. When these absolute results are compared with the figures of Fujitsu Siemens computer T4US Medium load profile, as shown in the diagram, it is evident that the results scale within the same frame even though the absolute numbers differ.

Fujitsu Dot Matrix Printer (68) — Results of Fujitsu Siemens Computers and Microsoft diagram (page 65)
Fig. 109 · Results of Fujitsu Siemens Computers and Microsoft
Fujitsu Dot Matrix Printer (68) — Results of Fujitsu Siemens Computers and Microsoft diagram (page 65)
Fig. 110 · Results of Fujitsu Siemens Computers and Microsoft

The T4US Medium load profile from Fujitsu Siemens Computers generally allows fewer users to be served on the same hardware than with Microsoft’s load profile. Since the comparative measurements were carried out on the same hardware, the number of users depends solely on the load profile used.

Our previous Sizing Guides also used load profiles that provided higher user numbers, as well as Microsoft’s Terminal Server Scaling and Capacity Planning tool, but our customers reported these values were far too high. Therefore, the “T4US” medium load profile was developed with the aim of delivering comparatively lower user numbers. In our new measurement series, we have taken this into account and can therefore assume that the user numbers determined are close to those from real production environments.

The Microsoft Terminal Server Scaling and Capacity Planning tool provides a number of users that is actually the absolute maximum of those supported in any given scenario. However, these figures still need to be adjusted in order to obtain an acceptable load value for real production environments.

It is essential that these different measuring tools provide comparable relative numbers. The comparison of Microsoft’s Terminal Server Scaling and Capacity Planning tool with Fujitsu Siemens Computer’s T4US tool shows that this is the case, and both tools can be used to study the scaling of terminal server systems.

Page 66 of the Fujitsu Dot Matrix Printer (68) user manual — Summary
Page 66 · click to enlarge
Page 66

Summary

The performance of the terminal server is determined by CPU power and main memory. The storage expansion can be easily based on the formula

estimate. If different applications are used simultaneously, the sum of all applications that have been used at the same time is to be formed. The number of users for a predetermined amount of memory can be calculated using the following formula:

Fujitsu Dot Matrix Printer (68) — Summary diagram (page 66)
Fig. 111 · Summary

Unfortunately, CPU performance is not such a simple formula. In a medium or heavy user, CPU performance is generally the limiting factor. For a class of light users, the maximum number of users is rather limited by other system resources. The large number of processors that can be used to equip each PRIMERGY model already suggests that there is not a certain number of users who can serve a PRIMER GY model, but that every PRIMERgy model covers a certain bandwidth. Nor is there a sharp limit where the performance of one model ends and that of the next more powerful begins. Rather, there is overlap between the systems. The following results obtained by our measurement series can therefore only give an impression for the performance range. The following graphic shows a comparison of the PRIMERGY systems with each other.

Fujitsu Dot Matrix Printer (68) — Summary diagram (page 66)
Fig. 112 · Summary
Fujitsu Dot Matrix Printer (68) — Summary diagram (page 66)
Fig. 113 · Summary
Page 67 of the Fujitsu Dot Matrix Printer (68) user manual — Summary
Page 67 · click to enlarge
Page 67

In this illustration, the maximum number of users attainable for each PRIMERGY system is used with an optimal hardware configuration and the best operating system (32-bit or 64-bit).

As expected, the advantages of 64-bit architecture are evident at the upper end of the power spectrum where today’s limitations in 32-bit design with regard to address space can be overcome and thus more memory and computing capacity can be utilized. Due to the multi-core architecture of modern processors, systems with 2 CPU sockets are already entering this performance range.

In the terminal server measurements, far more than 100 users are reached on a single server. The maximum value achieved depends, as already discussed above, on the measurement method and on the selected load profile. In reality, however, such a high number of users is usually not achievable; rather, the user numbers are significantly lower here. These results must be mirrored in reality and relativized to the customer-specific user behavior. Whether the results have to be divided by 10 or 4, or whether you plan a fixed number of users per processor core; these recommendations can only be thumb formulas in any case.

If you are planning a terminal server or terminal server farm, take the time to analyze user behavior in advance.

  • Which applications generally have to be made available via the terminal server?
  • Which user uses which application when and how often?
  • How intensively is the application used?
  • What screen resolution and color depth does the client use?
  • Which network and protocol is used?
  • What response times are expected?

For larger configurations, a pilot phase under real conditions should not be dispensed with.

Page 68 of the Fujitsu Dot Matrix Printer (68) user manual — http://www.gartner.com/ Contact
Page 68 · click to enlarge
Page 68

Literature

Fujitsu Dot Matrix Printer (68) — Literature diagram (page 68)
Fig. 114 · Literature

General information about Fujitsu Siemens Computers products [L1]

PRIMERGY Benchmarks - Performance Reports and Sizing Guides [L3]

PRIMERGY Performance Lab database with all benchmark and performance results of the PRIMER GY in the Intranet [L5]

Windows Server 2003 Terminal Server Capacity and Scaling [L7]

http://www.gartner.com/ Contact

Fujitsu Dot Matrix Printer (68) — http://www.gartner.com/ Contact diagram (page 68)
Fig. 115 · http://www.gartner.com/ Contact
Fujitsu Dot Matrix Printer (68) — http://www.gartner.com/ Contact diagram (page 68)
Fig. 116 · http://www.gartner.com/ Contact

Delivery subject to availability, technical changes possible without prior notice, correction of errors and omissions reserved. All stated conditions (TCs) are recommended prices in Euro excluding VAT. (unless otherwise stated in the text). All hardware and software names used are trademarks of their respective manufacturers. Copyright © Fujitsu Siemens Computers, 2006

Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the Fujitsu Dot Matrix Printer (68)

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Fujitsu Dot Matrix Printer (68)

Be the first to ask — other owners or our team will answer.

Original document

Fujitsu Dot Matrix Printer (68) manual PDF

68 pages·2.1 MB·Credit Card Machine·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…