LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-03-2008, 03:16 PM   #1
lgfsantos
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
CPU getting slow


Hello everybody.

Iīm experiencing some problems here and, once i canīt find a way to solve this, iīm trying the forum and your experience and knowledgement.

We develop a PBX Asterisk based. We use Suse 10.2, with kernel 2.6.8, asterisk 1.2.17, zaptel 1.2.17, with one processor P4 2.7GHz and 1GB of ram, using sox, soxmix and lame to encode the calls.

Now weīre using a slackware 12 based system. Weīre running kernel 2.6.22, asterisk 1.2.24, zaptel 1.2.20.1, two processors P4 3GHz and 2GB of ram using sox, soxmix and lame to encode the calls.

We donīt have any kind of problems with asterisk running over Suse. There are no problems with audio or processing.

In Slackware 12 iīm experiencing many problems with process. Any kind of process that need the processor is affecting the asterisk, bringing problems with the calls in curse. In Suse it wasnīt happening. I donīt use nice or renice with Suse or Slackware.

Can anybody help me or suggest something?

Thank you.
 
Old 03-03-2008, 05:00 PM   #2
steve_b
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
need some more info

couple things could be causing this...but before making a good thought or
suggestion, can you tell me the following

1. is the kernel recognizing both CPUs and using them
2. how much memory is in average being used? this may very well be swapping out and causing bottlenecks in disk IO
3. is this box doing anything else except what you mentioned?


I'm really thinking it's either running out of memory and swapping/running out of disk bandwidth. causing wait states

check out load with top and see where the load is.....I can pretty much bet the cpus are spending most of their times in wait states



-Steve
 
Old 03-04-2008, 06:16 AM   #3
lgfsantos
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by steve_b View Post
couple things could be causing this...but before making a good thought or
suggestion, can you tell me the following

1. is the kernel recognizing both CPUs and using them
2. how much memory is in average being used? this may very well be swapping out and causing bottlenecks in disk IO
3. is this box doing anything else except what you mentioned?


I'm really thinking it's either running out of memory and swapping/running out of disk bandwidth. causing wait states

check out load with top and see where the load is.....I can pretty much bet the cpus are spending most of their times in wait states



-Steve
Thanks for your interesting and post Steve.
Actually, the computer have just one physical processor but the kernel is recognizing two processors (ACPI/APM?). The kernel is compiled with SMP support. But iīm not sure if the system is using the two processors. I donīt know if this is the cause of my problem.

About memory questions, see below:

root@slack:~# free -m
total used free shared buffers cached
Mem: 2016 1821 194 0 97 1514
-/+ buffers/cache: 209 1806
Swap: 494 2 491
root@slack:~#

To explain you better whatīs going on, letīs take this scenario.
Four people on talking on telephone. Then, two hangup and the soxmix/lame starts the convertion of wav to mp3. The other two have their call prejudicated, because the process os soxmix/lame are consuming much CPU.
I donīt know if I was clear, but looks like an "interruption" or "priority" to use the processor.

On Suse 9.2/10.0/10.2/10.3 we donīt have this kind of problem.

I hope it helps.

Thanks again
 
Old 03-04-2008, 06:55 AM   #4
kantijena
LQ Newbie
 
Registered: Feb 2008
Posts: 10

Rep: Reputation: 0
Any idea about Backuppc-3.1.0

Hey Steve , I have alreday configured a open source BackupPC-3.1.0. It is installed succesfully and also i configured the perl configure.pl file. But when i m try to open the backuppc in the browser http://localhost/cgi-bin/BackupPC_Admin.pl it is not open and it shows the error like below..

Not Found

The requested URL /cgi-bin/BackupPC_Admin:8080 was not found on this server.
Apache/2.2.3 (CentOS) Server at localhost Port 80

plz try to help me out this problem or give me some suggestion about this ..plzz...I am waiting for ur best response.
Thanx a lot in Advance.
 
  


Reply



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
CPUINFO description - slow CPU? eraosso Slackware 2 01-01-2008 02:23 PM
Debian Etch CPU slow down galor Debian 2 06-02-2007 09:16 AM
mplayer: your cpu is too slow alpha_lin Linux - Hardware 3 12-28-2006 07:55 AM
slow down CPU ygloo Linux - General 3 08-18-2006 11:02 PM
Grip slow? CPU is only 26% what's slowing it down? MikeyCarter Linux - Software 3 08-29-2005 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:04 AM.

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
Open Source Consulting | Domain Registration