The NoteBook of EricKong

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  610 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

故障现象:

 

Telnet或者Pcom软件显示登陆界面太慢

 

适用系统版本: V4R4  V4R5

 

对于V4R4或者V4R5系统,我们通过telnet客户端登陆AS/400的时候,经常会很久才能显示signon登陆界面,但是一旦signon界面出来后,接着的交互式操作相应速度都很正常。

 
负责Telnet登陆的初始程序是QTVDEVICE, 该作业的默认运行级别是50。虽然该作业在绝大多数系统上运行的挺好,但是,在一些拥有大量的批处理左右的系统中,作业QTVDEVICE会同批处理作业去抢占CPU资源,从而影响了signon屏幕的相应。


解决这个问题的方法,通常是增加QTVDEVICE 作业的运行优先级到20

如果你打了补丁 SF62558 (V4R4) 或者 SF62559 (V4R5) ,或者更高的补丁版本,这些补丁会调整该作业的运行优先级到20

 

使用下面的步骤命令来调整运行优先级路由条目到20

ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('TELNETD' 1)
PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)
-
如果PTF没有应用,使用下面的命令改变优先级路由条目到20

ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('QCMDI' 1)
PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)
-
注意: Telnet服务和QTVDEVICE作业必须结束,系统重启后,优先级才能改变。
-
Additional Information:
-
Previous to the PTFs being applied the QTVDEVICE jobs are submitted with a compare value of QCMDI.  If the performance issues occurred, the circumvention noted above was to add a Routing Entry with a compare value for QCMDI that will reference a Class with a higher run priority.  A drawback to this is that other jobs, the Pass-through server for example, are submitted to the QSYSWRK subsystem with a compare value of QCMDI.  So the QCMDI Routing Entry affected more than just Telnet.
-
Mindful of the potential side effects of the first circumvention, a unique compare value of TELNETD was added to the QTVDEVICE job submission via PTF.  This allows the run priority of the Telnet QTVDEVICE jobs to be changed without affecting any other programs.  A real consideration with these PTFs, which are on the current Cumulative Packages, is that if you previously had added the QCMDI Routing Entry to address this issue, and the new Routing Entry is not added, the same performance lags that were experienced before will reappear.
-
If you had previously added the QCMDI Routing Entry at sequence number 2517, the recommendation is to remove that Routing Entry and add the one for TELNETD at sequence number 2517.  Because in future releases of OS/400 the install of TCP/IP Connectivity Utilities will add the Routing Entry for TELNETD at sequence number 2517.  If you still want jobs that are submitted to the QSYSWRK subsystem with a compare value of QCMDI to run at a priority other than 50, then add that Routing Entry back at any
available sequence number.
-
For tuning the System performance further, the run priority can be customized by replacing the QSYSCLS20 class with a different class, either system provided or user created, that references a different run priority.  And with the new PTFs applied, that change will only affect the Telnet server jobs.  

posted on 2013-11-11 14:29 Eric_jiang 阅读(416) 评论(0)  编辑  收藏 所属分类: AS400

只有注册用户登录后才能发表评论。


网站导航: