Ubuntu runs too slow, please help me
hi,
I installed ubuntu 9.1 last night , it runs slow if I open a box or menu but specially when I try to open a website. I am running epiphany web browser. It will work even slower if I use firefox. I am using an HP laptop which runs fine with windows XP. I will aprecciate your help. |
The first think I'd check is to see if the hard disk light is flashing while the computer is running slowly; if it is then it could indicate that the computer is swapping, which can cause slowness.
We need to find out why the computer is slow: it could be a RAM or CPU problem, or some program you don't need that's gobbling up your resources. Can you please open the file /proc/meminfo and copy and paste it into this thread? Can you also open a terminal and type "top -n 1", then select the text and paste that as well? |
would you mind if you posted your hardware specs?
Thanks James ps it SHOULD run very nicely if XP works smoothly on it |
specs:
1.6 GHz AMD processor 1G RAM top - 16:13:41 up 12 min, 2 users, load average: 0.16, 0.20, 0.18 Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie Cpu(s): 8.0%us, 2.6%sy, 0.4%ni, 85.6%id, 3.3%wa, 0.1%hi, 0.0%si, 0.0%st Mem: 993208k total, 384288k used, 608920k free, 23076k buffers Swap: 602396k total, 0k used, 602396k free, 148692k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1686 humberto 20 0 145m 59m 21m S 21 6.2 1:12.87 epiphany-browse 1810 humberto 20 0 2464 1060 784 R 4 0.1 0:00.03 top 1 root 20 0 2528 1500 1120 S 0 0.2 0:01.08 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0 0.0 0:00.02 ksoftirqd/0 5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/0 10 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/1 11 root 15 -5 0 0 0 S 0 0.0 0:00.00 cpuset 12 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper 13 root 15 -5 0 0 0 S 0 0.0 0:00.00 netns 14 root 15 -5 0 0 0 S 0 0.0 0:00.00 async/mgr 15 root 15 -5 0 0 0 S 0 0.0 0:00.00 kintegrityd/0 meminfo: MemTotal: 993208 kB MemFree: 633984 kB Buffers: 22380 kB Cached: 145704 kB SwapCached: 0 kB Active: 207540 kB Inactive: 116928 kB Active(anon): 161368 kB Inactive(anon): 0 kB Active(file): 46172 kB Inactive(file): 116928 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 105480 kB HighFree: 224 kB LowTotal: 887728 kB LowFree: 633760 kB SwapTotal: 602396 kB SwapFree: 602396 kB Dirty: 248 kB Writeback: 0 kB AnonPages: 156544 kB Mapped: 56616 kB Slab: 19948 kB SReclaimable: 11200 kB SUnreclaim: 8748 kB PageTables: 4136 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1099000 kB Committed_AS: 534780 kB VmallocTotal: 122880 kB VmallocUsed: 2364 kB VmallocChunk: 118060 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 4096 kB DirectMap4k: 12280 kB DirectMap4M: 897024 kB |
Hmmm this is strange... Epiphany is taking up 145MB of ram, but the rest of your system seems fine... 85% idle time.
Would you mind posting the output of those two commands again, but running firefox instead of Epiphany Also, you could try the venerable Opera browser and see what performance you get with that. Another thing (lol) is your AMD 64 bit or 32 bit? because if youre running 32 bit on 64 it *COULD* slow thnigs down diabolically, but i dont know for sure (can someone back me up or correct me please) Regards James |
Is your HDD's DMA enabled?
Code:
root@vaio:~# hdparm -I /dev/sda |
What is the content of your
Code:
/etc/hosts Code:
about:config => search ipv6 =>network.dns.disableIPV6=>set it to true http://www.ubuntugeek.com/how-to-dis...in-ubuntu.html Is your DNS configured correctly? What s the output from Code:
cat /etc/resolv.conf |
this is I got after typing hdparm:
humberto@humberto-laptop:~$ hdparm -I /dev/sda /dev/sda: Permission denied after cat /etc/resolv.conf humberto@humberto-laptop:~$ cat /etc/resolv.conf # Generated by NetworkManager domain Belkin search Belkin nameserver 192.168.2.1 nameserver 68.87.68.166 nameserver 68.87.74.166 /etc/hosts <= I dont have any subdirectory called "hosts" I did not find a way to disable ipv6 in my browser , please give me more details. |
Quote:
Try sudo hdparm -I /dev/sda Quote:
Try cat /etc/hosts |
Quote:
Google is a great source :-) |
This is what I got, please let me know if anything is wrong.
/dev/sda: ATA device, with non-removable media Model Number: FUJITSU MHV2100BH PL Serial Number: NW9YT692BY7N Firmware Revision: 892C Standards: Used: ATA/ATAPI-7 T13 1532D revision 4a Supported: 7 6 5 4 & some of 8 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 195371568 LBA48 user addressable sectors: 195371568 Logical Sector size: 512 bytes Physical Sector size: 512 bytes device size with M = 1024*1024: 95396 MBytes device size with M = 1000*1000: 100030 MBytes (100 GB) cache/buffer size = 8192 KBytes (type=DualPortCache) Capabilities: LBA, IORDY(can be disabled) Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Advanced power management level: disabled DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set Security Mode feature set * Power Management feature set * Write cache * Look-ahead * WRITE_BUFFER command * READ_BUFFER command * DOWNLOAD_MICROCODE Advanced Power Management feature set * 48-bit Address feature set * Device Configuration Overlay feature set * Mandatory FLUSH_CACHE * FLUSH_CACHE_EXT * SMART error logging * SMART self-test * General Purpose Logging feature set * IDLE_IMMEDIATE with UNLOAD * Gen1 signaling speed (1.5Gb/s) * Host-initiated interface power management * Phy event counters Device-initiated interface power management * Software settings preservation * SMART Command Transport (SCT) feature set * SCT LBA Segment Access (AC2) * SCT Error Recovery Control (AC3) * SCT Features Control (AC4) * SCT Data Tables (AC5) Security: Master password revision code = 65534 supported not enabled not locked frozen not expired: security count supported: enhanced erase 78min for SECURITY ERASE UNIT. 78min for ENHANCED SECURITY ERASE UNIT. Checksum: correct |
That looks fine, DMA is active, but what about the output of cat /etc/hosts ?
|
humberto@humberto-laptop:~$ cat /etc/hosts
127.0.0.1 localhost 127.0.1.1 humberto-laptop # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts humberto@humberto-laptop:~$ I tried with Opera and it works even worse than epiphany This laptop has an AMD turion 64x 2 CPU and if it runs like a champ in windows I reckon it should work even better with ubuntu. |
replace
Quote:
Quote:
|
And it looks like you still have IPv6 enabled. This can waste a lot of time as it waits for the IPv6 connection to time out before trying IPv4 (which, generally, it should have used in the first place).
To disable IPv6: Open the file /etc/modprobe.d/aliases and scroll down to this bit. Code:
# alias net-pf-10 ipv6 disable ipv6 Then reboot. |
All times are GMT -5. The time now is 08:33 PM. |