LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2008, 06:09 PM   #1
bstafford51
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Rep: Reputation: 1
application runs slow eve with unlimited resources


The system is set to allow unlimited resources. There is only two vm n the host. the host is 16 gig mem. dual quad core Dell 2950. Cpu usage goes up to almost 1gig when the databases are started. This startup takes 20 minutes longer on the virtual machine than the stand alone.

vmstat -s:
2010692 total memory
1980800 used memory
478312 active memory
1420476 inactive memory
29892 free memory
17284 buffer memory
1696180 swap cache
0 total swap
0 used swap
0 free swap
62430 non-nice user cpu ticks
308 nice user cpu ticks
13033 system cpu ticks
6971608 idle cpu ticks
336182 IO-wait cpu ticks
1212 IRQ cpu ticks
1028 softirq cpu ticks
4852443 pages paged in
1134256 pages paged out
0 pages swapped in
0 pages swapped out
19686583 interrupts
3111632 CPU context switches
1221583193 boot time
8841 forks

thanks
 
Old 09-16-2008, 06:17 PM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
First:
Quote:
Cpu usage goes up to almost 1gig when the databases are started.
This makes no sense, lol.

Some more info would be nice:

Is standalone the host OS that is NOT running inside a virtual environment?
What VMM you using (VMware, Xen, etc)?
What is the disk setup(RAID, single disk, etc)?
How large are the databases you are starting?

When databases start up, they load the indexes into memory so that queries will be faster. So if you have a very large database, then it will take a longer time to load the indexes into memory (They will load at the speed of the disk accesses). Also, there is some overhead in a virtual machine and one of them is in disk access. The db probably takes longer to load in the VM because the disk accesses are not as efficient.
 
Old 09-17-2008, 09:42 AM   #3
bstafford51
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Thanks for the reply. I am new to VMware but have gone through virtualization hell with V-iron, Redhat, virtuozzo and Microsoft. Some people can't make their minds up where I work. I'll look into the disk access, that sound like it might be a logical track to follow.

This makes no sense, lol.> What I ment to say was that he cpu usage goes from about 200Mhz to almost 1 gig - this is from the performance chart of the virtual machine (not he host). So cpu usage increases.

Is stand alone the host OS that is NOT running inside a virtual environment? > Short answer = yes. The stand alone is running RedHat v3 on a Sun VZ40 server. We are running comparison test against the virtual machine.

What VMM you using (VMware, Xen, etc)? VMware ESX

What is the disk setup(RAID, single disk, etc)? Single SAN disk

How large are the databases you are starting? total about 12 gig made up of several table size 20 Meg to 500 meg.
 
Old 09-17-2008, 09:08 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
I'm no expert on VM systems, but surely cpu freq can't change??
 
Old 09-17-2008, 10:22 PM   #5
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
Quote:
Originally Posted by chrism01 View Post
I'm no expert on VM systems, but surely cpu freq can't change??
Vmware may be displaying cpu usage by telling how many of the cycles per second it is using. So it went from using 200MHz to 1GHz of the available cpu cycles (across all cores).

Edit: or the cpu's are throttling and they went form 200MHz to their top speed of 1GHz?

Last edited by CRC123; 09-17-2008 at 10:23 PM.
 
Old 09-18-2008, 09:24 AM   #6
bstafford51
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by CRC123 View Post
Vmware may be displaying cpu usage by telling how many of the cycles per second it is using. So it went from using 200MHz to 1GHz of the available cpu cycles (across all cores).

Edit: or the cpu's are throttling and they went form 200MHz to their top speed of 1GHz?

Exactly. Thanks. I looked at disk usage and see a big spike in reads during the time the test was ran. I guess this is normal since the databases are being started. I think the problem is the application itself. It has been- is and always wil be crap. It never uses swap, even on the original server, and has a very poor database engine to start with. We have seen system slow downs before and had to reboot to release memory etc.

thanks for your help.
 
Old 04-15-2009, 01:46 PM   #7
bstafford51
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 1
problem solved

It seems the Progress database was messed up. The before and after images had extremely large blocks which they did not need. The systems run like scalded dogs now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
application runs under 10.1 but not 10.2 nicolas765 SUSE / openSUSE 0 02-15-2007 01:19 PM
Debian runs very slow Impaler Linux - Software 11 02-27-2005 09:28 AM
ET runs slow. shadowhunter Linux - Games 4 06-15-2004 10:27 PM
xfce4 runs slow bosewicht Linux - Newbie 2 03-14-2004 04:02 PM
it runs so slow neverender Linux - General 1 01-14-2004 07:43 AM


All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration