 |
≫ |
|
|
 |
パッチ名: PHKL_36359
パッチ摘要: 11.31 semop() SEM_UNDO操作性能の改善
作成日: 07/04/24
公開日: 07/05/08
ハードウェアプラットフォームおよびOSリリース:
11.31
現象:
PHKL_36359:
(SR:8606464089 CR:JAGag19801)
SEM_UNDOオプションを使用すると、semop()システムコールの性能が低下して
いました。このパッチは、SEM_UNDOオプション付きsemop()システムコールの
性能を改善します。
問題点の説明:
PHKL_36359:
(SR:8606464089 CR:JAGag19801)
カーネルは、関連ロック付きリンクリスト内のアプリケーションUNDO情報を追
跡します。ところが、大規模システムの場合、SEM_UNDOオプション付き
semop()システムコールを多用すると、そのロックの争奪が激しくなっていま
した。
解決方法:
このパッチは、UNDO情報構造のリストを複数のリストとロックに分割します。
それにより、 ロックとリストの並行アクセスが可能になるので、争奪が緩和
し待機時間も短縮されます。その結果、USSEM_UNDOオプションを多用するアプ
リケーションのパフォーマンスが改善されます。
-----------------------------------------------------------------------------
Patch Name: PHKL_36359
Patch Description: 11.31 semop() SEM_UNDO operation performance improvement
Creation Date: 07/04/24
Post Date: 07/05/08
Hardware Platforms - OS Releases:
11.31
Products: N/A
Filesets:
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
Automatic Reboot?: Yes
Status: General Release
Critical: No
Category Tags:
defect_repair general_release
Path Name: /hp-ux_patches/11.X/PHKL_36359
Symptoms:
PHKL_36359:
( SR:8606464089 CR:JAGag19801 )
semop() system call performance is poor compared to semop()
operations done with SEM_UNDO option.
This patch delivers performance improvements for the semop()
system call where the SEM_UNDO option is used.
Defect Description:
PHKL_36359:
( SR:8606464089 CR:JAGag19801 )
Application UNDO information is tracked by the kernel in a
linked list with an associated lock. On large systems, heavy
use of the semop() system call with the SEM_UNDO option
causes high contention for that lock.
Resolution:
This patch splits the list of UNDO information structures
into multiple lists and associated locks. The locks and
lists can be accessed in parallel with lower contention and
waiting. This improves performance for applications which
heavily use the USSEM_UNDO option.
Enhancement:
No
SR:
8606464089
Patch Files:
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/conf/mod/pm_usync
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/conf/mod/pm_usync
what(1) Output:
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/conf/mod/pm_usync:
sysV_sem.c $Date: 2007/03/29 23:16:34 $Revision: r11
.31/1 PATCH_11.31 (PHKL_36359)
$Revision: pm_usync: @(#) mod/pm_usync R11.31_BL
2007_0423_5 PATCH_11.31 PHKL_36359
pm_usync_debug.c $Date: 2007/03/29 23:16:25 $Revisio
n: r11.31/1 PATCH_11.31 (PHKL_36359)
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/conf/mod/pm_usync:
$Revision: pm_usync: @(#) mod/pm_usync R11.31_BL
2007_0423_5 PATCH_11.31 PHKL_36359
pm_usync_debug.c $Date: 2007/03/29 23:16:25 $Revisio
n: r11.31/1 PATCH_11.31 (PHKL_36359)
sysV_sem.c $Date: 2007/03/29 23:16:34 $Revision: r11
.31/1 PATCH_11.31 (PHKL_36359)
cksum(1) Output:
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
3739381629 1263416 /usr/conf/mod/pm_usync
OS-Core.CORE2-KRN,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
1032267817 411232 /usr/conf/mod/pm_usync
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes: None
Equivalent Patches: None
Patch Package Size: 500 KBytes
Installation Instructions:
Please review all instructions and the Hewlett-Packard
SupportLine User Guide or your Hewlett-Packard support terms
and conditions for precautions, scope of license,
restrictions, and, limitation of liability and warranties,
before installing this patch.
------------------------------------------------------------
1. Back up your system before installing a patch.
2. Login as root.
3. Copy the patch to the /tmp directory.
4. Move to the /tmp directory and unshar the patch:
cd /tmp
sh PHKL_36359
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_36359.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_36359. If you do not wish to retain a
copy of the original software, include the patch_save_files
option in the swinstall command above:
-x patch_save_files=false
WARNING: If patch_save_files is false when a patch is installed,
the patch cannot be deinstalled. Please be careful
when using this feature.
For future reference, the contents of the PHKL_36359.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_36359.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_36359.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|