Limiting Sybase ASE 15 CPU usage on VM
Posted
by
reiniero
on Server Fault
See other posts from Server Fault
or by reiniero
Published on 2012-12-02T14:22:22Z
Indexed on
2012/12/02
17:06 UTC
Read the original article
Hit count: 463
I've set up a single CPU Sybase ASE 15.7 test/hobby/experimentation system on a Debian Squeeze x64 KVM VM. I notice the CPU load goes to 100% and stays there. Definitely not a Sybase guru, only interested to see if some programs I'm running work on the database.
Looking at Sybase docs it seems ASE detects the machine is idle and then takes over all processing just waiting for a connection (and if needed, doing some housekeeping apparently).
Normally that would be fine but as it is running in a VM it's taking away processor resources other VMs could use - and the increased fan noise of the PC near my desk annoy me.
I've tried to remedy this:
set the "runnable process search count" parameter from DEFAULT (2000 IRC) to 3 in /opt/sybase/ASE-15_0/SYBASE.cfg
from http://sybase.reygrobellet.com/tutorials/install_sybase_vb/standalone04_configure_oralin11#TOC-Configure-kernel I added this to my /etc/init.d/sybase startup script: echo 0 > /proc/sys/kernel/randomize_va_space (though I don't think it'll make much difference)
How can I tell Sybase to "behave" and not hog the processor - I don't mind reduced performance.
© Server Fault or respective owner