Ubuntu Performance Question
lada-h8kxHjy+vg4AvxtiuMwx3w at public.gmane.org
lada-h8kxHjy+vg4AvxtiuMwx3w at public.gmane.org
Wed Jul 11 13:08:04 UTC 2007
>On Tue, Jul 10, 2007 at 03:36:25PM -0400, lada at agawa.com wrote:
>> I migrated my Subversion server from a 800Mhz Pentium 3 with 512 MB of
>> memory to a 3GHz Pentium 4 with 2 GB of memory. They both run Ubuntu 6.06
>> LTS Linux (2.6.15-26-386 kernel).
>> The P4 machine seems to be rather slow. Here is truncated output from
top:
>>
>> top - 15:19:19 up 5 days, 22:43, 1 user, load average: 0.33, 0.09, 0.03
>> Tasks: 56 total, 1 running, 55 sleeping, 0 stopped, 0 zombie
>> Cpu(s): 4.2% us, 0.0% sy, 0.0% ni, 95.8% id, 0.0% wa, 0.0% hi,
0.0% si
>> Mem: 2067576k total, 1474208k used, 593368k free, 213872k buffers
>> Swap: 1951800k total, 18904k used, 1932896k free, 1167500k cached
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>>
>> 15543 lsvatos 17 0 2196 1088 856 R 3.8 0.1 0:00.53 top
>>
>> And here from the P3 box:
>>
>> top - 15:17:07 up 19 days, 5:09, 1 user, load average: 0.00, 0.00,
0.00
>> Tasks: 51 total, 1 running, 50 sleeping, 0 stopped, 0 zombie
>> Cpu(s): 0.0% us, 0.3% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi,
0.0% si
>> Mem: 515284k total, 418848k used, 96436k free, 72740k buffers
>> Swap: 979832k total, 18904k used, 960928k free, 262132k cached
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>>
>> 9848 lsvatos 16 0 2192 1076 856 R 0.3 0.2 0:00.16 top
>>
>> How is it possible for the same program to consume 10 times the CPU time?
>> I would appreciate any suggestions.
>
>Not having DMA enabled for disk access can cause quite a severe cpu hit.
>
>What does dmesg say on both?
[17179592.676000] scsi1 : ata_piix
[17179592.676000] Vendor: ATA Model: ST380013AS Rev: 3.05
[17179592.676000] Type: Direct-Access ANSI SCSI
revision: 05
[17179592.680000] Vendor: ATA Model: ST380013AS Rev: 3.05
[17179592.680000] Type: Direct-Access ANSI SCSI
revision: 05
[17179593.160000] Driver 'sd' needs updating - please use bus_type methods
[17179593.376000] SCSI device sda: 156301488 512-byte hdwr sectors (80026
MB)
[17179593.376000] SCSI device sda: drive cache: write back
[17179593.456000] SCSI device sda: 156301488 512-byte hdwr sectors (80026
MB)
[17179593.456000] SCSI device sda: drive cache: write back
[17179593.456000] sda: sda1 sda2 sda3
[17179593.664000] sd 0:0:0:0: Attached scsi disk sda
[17179593.664000] SCSI device sdb: 156301488 512-byte hdwr sectors (80026
MB)
[17179593.664000] SCSI device sdb: drive cache: write back
[17179593.744000] SCSI device sdb: 156301488 512-byte hdwr sectors (80026
MB)
[17179593.744000] SCSI device sdb: drive cache: write back
[17179593.744000] sdb: sdb1 sdb2 sdb3
>--
>Len Sorensen
>--
>The Toronto Linux Users Group. Meetings: http://gtalug.org/
>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list