AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  bypass /etc/utmp file

    Posted Thu December 21, 2006 04:14 AM

    Originally posted by: SystemAdmin


    Is it possible to bypass the file /tmp/utmp file each time a user login with telnet session.
    I'm currently running test with 10 telnet session per second and the bottleneck is the /etc/utmp file
    Does anyone know how to ?

    thanks


  • 2.  Re: bypass /etc/utmp file

    Posted Thu December 21, 2006 07:24 AM

    Originally posted by: SystemAdmin


    Why would you want to do this? Put another way what is it you're trying to test exactly? Updating /etc/utmp is a normal part of the way AIX operates. It is the running record of who's logged on to the system and serves as input to commands like finger and who. It also provides input to process accounting if and when you need that. If you're doing performance testing it sounds to me as if you've just found the performance problem you were looking for.

    And another thing, what kind of workload are you modeling here? If you really expect to have 10 logins/second I would suggest you have worse problems than you realize.

    Regards,
    Jim Lane


  • 3.  Re: bypass /etc/utmp file

    Posted Fri December 22, 2006 03:28 AM

    Originally posted by: SystemAdmin


    Thanks for your answer
    But the main problem is how to bypass this file !


  • 4.  Re: bypass /etc/utmp file

    Posted Fri December 22, 2006 07:08 AM

    Originally posted by: SystemAdmin


    The point of my answer was that I don't believe there is a way to bypass /etc/utmp nor should there be. It's supposed to hurt when you do something unreasonable.

    That being said what kind of performance numbers are you seeing that constitute a bottleneck on this file? I assume it's on the boot device. What kind of numbers do you get from iostat? It's often the case that the boot device is slower than other disks. Have you done any tuning to alleviate this?

    HTH

    Jim Lane