24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.5 Daylight Savings Time<br />

Before <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong>, daylight savings time could be selected through SMIT,<br />

but the date of change for this characteristic was restricted to USA standard.<br />

Once the daylight savings YES or NO question had been answered, a list of<br />

available time zones was presented, but there was no option within SMIT for<br />

specifying the start and end dates for daylight savings.<br />

By default, the daylight saving time starts on the first Sunday of April at 2:00am<br />

and stops on the last Sunday of October at 2:00am. <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> now has the<br />

capability of overriding these settings by specifying the start time and stop time in<br />

the TZ environment variable.<br />

Additional fields have been added to the SMIT time setting menu to set the TZ<br />

variable. A back-end script performs the actual setting of the TZ variable.<br />

6.6 Login Performance<br />

The original design of the UNIX/<strong>AIX</strong> login system dates back to the early days of<br />

UNIX when the number of users to be catered for was relatively small. As such,<br />

the login process was perfectly adequate. With the commercial acceptance of<br />

UNIX, however, the number of users per system has grown dramatically with tens<br />

of thousands of users now being seen on some servers. This increase in the<br />

number of users has highlighted some of the deficiencies in the original design of<br />

the login process that are now beginning to affect system performance.<br />

A problem exists, which once a user has entered their name and password, the<br />

system must then search through the /etc/passwd and /etc/security/passwd files<br />

trying to find a match for that user and, if successful, must also update a number<br />

of other files. All the files are searched sequentially, and the time consumed can<br />

be substantial if there are a large number of records to search through. In<br />

extreme cases, if a user’s entry is near the end of the files, it is possible for the<br />

login attempt to time out before completion. Also, the amount of CPU time being<br />

consumed by the login process is a cause for concern. Login CPU usage has<br />

been recorded as high as 47 percent on some systems.<br />

The three major bottlenecks that have been identified are:<br />

• Reading the /etc/passwd file<br />

• Reading the /etc/security/passwd file<br />

• Updating the /etc/security/lastlog file<br />

A limited solution was used in previous versions of <strong>AIX</strong> to address some of these<br />

issues by creating a hashed version of the /etc/passwd file. The mkpasswd<br />

command took the /etc/passwd file as input and created the /etc/passwd.dir and<br />

/etc/passwd.pag files. Then during login, if these hashed files existed, they were<br />

read instead of the ASCII file. This partial solution provided some relief, but there<br />

were still other areas that could also be improved.<br />

A further improvement has been introduced in <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> that provides<br />

indexed access to the data files instead of sequential reads. Indexes are created<br />

using the user name and user ID as keys with offsets into the data file. The data<br />

118 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!