Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old October 7th, 2006
siakadoumbia's Avatar
siakadoumbia Offline
Junior Member
 
Join Date: October 2006
Posts: 1
Tuning asynchronous io for Sybase on IBM/AIX

Hi All,

I need help to clarify a situation we are facing on our production environment.
We are running Sybase on an IBM server :

> lsattr -El sys0

SW_dist_intr false Enable SW distribution of interrupts True
autorestart true Automatically REBOOT system after a crash True
boottype disk N/A False
conslogin enable System Console Login False
cpuguard enable CPU Guard True
frequency 484000000 System Bus Frequency False
fullcore false Enable full CORE dump True
fwversion IBM,RG050405_d79e05_r Firmware version and revision levels False
id_to_partition 0X036FC37434C8B201 Partition ID False
id_to_system 0X036FC37434C8B201 System ID False
iostat false Continuously maintain DISK I/O history True
keylock normal State of system keylock at boot time False
maxbuf 20 Maximum number of pages in block I/O BUFFER CACHE True
maxmbuf 0 Maximum Kbytes of real memory allowed for MBUFS True
maxpout 33 HIGH water mark for pending write I/Os per file True
maxuproc 1024 Maximum number of PROCESSES allowed per user True
minpout 24 LOW water mark for pending write I/Os per file True
modelname IBM,7038-6M2 Machine name False
ncargs 6 ARG/ENV list size in 4K byte blocks True
pre430core false Use pre-430 style CORE dump True
pre520tune disable Pre-520 tuning compatibility mode True
realmem 33554432 Amount of usable physical memory in Kbytes False
rtasversion 1 Open Firmware RTAS version False
systemid IBM,01652256A Hardware system identifier False


> lsattr -El aio0

autoconfig available STATE to be configured at system restart True
fastpath enable State of fast path True
kprocprio 39 Server PRIORITY True
maxreqs 4096 Maximum number of REQUESTS True
maxservers 10 MAXIMUM number of servers per cpu True
minservers 1 MINIMUM number of servers True


We are currently facing a performance issue with the database, which I think to be related to the that Sybase has been running for a very long time :

> ps -ef | grep dataserver

sybase 548944 7802912 120 Jul 22 - 57243:25 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:2,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 1126536 7802912 29 Jul 22 - 56980:35 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:6,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 2547888 7802912 26 Jul 22 - 57586:32 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:3,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 4669454 7802912 56 Jul 22 - 58077:53 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:4,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 6488244 7802912 41 Jul 22 - 57935:43 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:1,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 7540944 7802912 104 Jul 22 - 57219:53 /apps/sybase/12.5/ASE-12_5/bin/dataserver -ONLINE:5,0,0xffffffff90004044, 160000000, 0x80000000, 0x1159
sybase 7802912 749568 120 Jul 22 - 62154:42 /apps/sybase/12.5/ASE-12_5/bin/dataserver -sKOR_FR_XXX_ASE -d/dev/rlv_SKORP_MAS -e/apps/sybase/adm/KOR_FR_XXX_ASE/log/errorlog_KOR_FR_XXX_ASE.log -c/apps/sybase/adm/KOR_FR_XXX_ASE/cfg/KOR_FR_XXX_ASE.cfg -M/apps/sybase/adm/KOR_FR_XXX_ASE/cfg


Now the sysadmin wants to reconfigure to values minservers=10 and maxservers=20.
But I understood from a previous post (Fasherman) that databases accessing raw devices get little benefit of aioservers configuration, and our database uses exclusively raw devices (except tempdb).
What do you think about this matter ?
Your help will be very mauch appreciated.

Regards,
Siakman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old October 9th, 2006
lawrenzo's Avatar
lawrenzo Offline
Member
 
Join Date: July 2006
Location: England Uk
Posts: 62
Re: Tuning asynchronous io for Sybase on IBM/AIX

what kind of performance issues are you facing?

We have just been through about 6mnths of performance issues and after analysing nmon data over a two year period the evidence pointed to full system utilization.

We upgraded the server and performance improved considerably:

check out the belo thread when I was investigation AIO

http://www.pseriestech.org/forum/aix...onous-133.html.

Other things to do is run scripts to collect system info ie we run a ps awux command as deamon that logs to a file every 15mins.

do you have nmon - check things like memory, cpu, paging etc utilization per day, 95 percentile and also top process's hammering the box.

you may find that on 21 days ago a new process / script / install has occured and this is actually causing poor performance.

To answer you question:

I studied VIO and the performance and tuning guide does state that no real issues can be made from using AIO on raw database chunks however not sure if this is gospel. For oracle on mounted filesystems the formula's stated in the link help the system no end.

First port of call is to determine what is using all cpu.

Hope this helps man

Chris.
__________________
superuser apparently?


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0042-008 nimsh: request denied 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac 3074feb7 aa00e1f3 aio aix aix aio aix freeware aix memory usage aix rsync aixif_arp_dup_addr b150f22a b181f22a b181fb53 ba010004 bfe4c025 c1001020 d133c002 dacnone dcb47997 fcp_array_err6 fget_config gnu tar aix gtar aix hmc root password hmc vmware ibm p6 520 libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv navisphere agent nim server pseriestech ptype and account type do not match rshd: 0826-813 permission is denied. rsync aix sc_disk_err4 scan_error_chrp vio server vmware hmc websm ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading: Tuning IBM AIX 5L for an Oracle Database yogeeraj AIX for POWER Systems 0 August 21st, 2006 00:39



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80