Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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%.
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 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")?
Thank you for your reply , I set swapiness to 10 :
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?
My card graphic is hibred intel/amd chip (AMD Radeon HD 6700M Series), I installed it's graphic driver fglrx for ATI Radeon & catalyst control center with this commands :
partition is installed normally on a normal partition that takes automatically all free space available on HDD in dual boot with windows8 (I installed it one day without dual boot I mean kali linux on only and the problem of slowness persists)
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:
time sqlmap
Usage: python sqlmap [options]
sqlmap: error: missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, -x, --wizard, --update, --purge-output or --dependencies), use -h for basic or -hh for advanced help
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?
Last edited by suicidaleggroll; 07-15-2015 at 11:07 AM.
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?
Concerning the "top" command you can see the output :
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
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.18.0-kali3-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
ERROR: smartctl requires a device name as the final command-line argument.
Use smartctl -h to get a usage summary
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 /.
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 /.
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.
the Most kali commands and programs runs slowly and it "lags" , for exemple this commands "Free, ps aux, smartctl" runs normally without arguments , but when I use arguments it takes some milliseconds on my PC with i7 processor, but other commands like msfconsole (for exemple) or sqlmap without arguments it take some "seconds" to run , or when I run iceweal browser it takes 2 ou 3 seconds to run , and in progress of working with browser it laggs .
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:
Originally Posted by suicidaleggroll
I don't see anything particularly troublesome there.
I think it's time for some benchmarks...do you have any programming knowledge?
yes of course I'm a web developer , and web application pentester so i have many programming knowledge ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.