kali linux runs really very slow and it laggs
Hello,
I installed Kali linux v 1.1.0a /64bit on my PC (HP Pavilion DV 7 with processor i7 2.20GHz with 8 cores , and 8 GO RAM, 6 Mo Cache , 1 Terra HDD Toshiba) in dual boot with Win8, but I find a problem that kali runs very slowly and laggs , for exemple when I execute command it takes secondes to runs in place of runing directly , and it do some lagging , so can you help me please ? PS: I did "top" command to see if there is some running programs that works with a high pourcent , but I find nothing the max usage of programs with CPU do not exceed the 8%. thank you in advance :). |
One possible reason is swappiness... You can check swappiness on your machine. Here's a nice article (it's for Ubuntu, but the same principles should apply):
http://askubuntu.com/questions/10391...ure-swappiness If you don't have a swap partition, you might consider a swap file. You can Google ways to create one... |
Quote:
|
What did you set swappiness to?
What is the output of "uptime" (just interested in the load average) and "free -m"? Also, what processor does your machine use (what is the output of "cat /proc/cpuinfo")? |
What graphics card is installed
the tools in kali are Nvidia CUDA ready so is there a nvidia or AMD card or a hibred intel/nvidia chip seeing as kali is based on Debian the debian documentation is a MUST READ!!! fallowed by taking the "offensive security" CLASSES HOW was kail installed ? a custom partition set up ? a LVM set up ? Or a FULLY ENCRYPTED!!! ( RECOMMENDED!!!! ) install ( with a very long and complex "pass phrase" ) what? |
Quote:
Code:
root@Pentester:~# cat /proc/sys/vm/swappiness Code:
root@Pentester:~# uptime Quote:
Code:
apt-get install fglrx-driver acpi-support fglrx-control xvba-va-driver amd-opencl-icd libglide3:i386 xinput libgl1-fglrx-glx-i386 I did not used a Fully encrypted, It's just installed normally without encryption because i use kali just for pentesting my developped web application . thank you all for reply. |
in addition I used the "time" command to see and this is the result of execution time for sqlmap:
Quote:
|
Well I don't see any problems in your output. Quad core processor (you said 8 in your OP, but it's not, it's only 4) with a load of ~1 means it's only ~25% utilized, so you're not running out of CPU. You have plenty of RAM available and are hardly using any cache, so swappiness isn't an issue either. If you run top while executing a process that's slow to respond, does anything pop up and show heavy CPU usage?
HDDs are notoriously slow as well. Once the data gets cached it shouldn't be too bad, but the first time you run anything it might take a few seconds to fetch all of the necessary data from the drive. I haven't installed an OS on a mechanical HDD in over 5 years because they're so terrible. You could also have a dying drive, what is the output of "smartctl -a" for your system drive? |
1 Attachment(s)
Quote:
Attachment 18948 Concerning th HDDs , you are right about this , but one thing I should say it that the HDD is very new (I bought it since the last month), and this is the output of smartctl command: Code:
root@Pentester:~# smartctl -a |
You need to give smartctl a drive. Assuming your system drive is /dev/sda, it would be "smartctl -a /dev/sda". You can get the name of your system drive with the output of "df", see which drive is mounted at /.
Eg: Code:
$ df -h |
Quote:
Code:
smartctl -a /dev/sda |
hello can some one help me please ?
|
Maybe you could be more specific about what runs slow.
Do ALL commands run slow or just some? When you run top, does it take many seconds to start up? Free? ps aux? smartctl? Is it maybe just network or database operations that are slow? And perhaps quantify just how slow some repeatably slow command is. |
Quote:
I think it's time for some benchmarks...do you have any programming knowledge? |
Quote:
Concerning network it runs normally (I have 8 Mo speed connection) and when I do an apt-get update , it show me connection with lagging display.. Quote:
|
All times are GMT -5. The time now is 01:49 AM. |