PDA

View Full Version : kali linux runs really very slow and it laggs



xhacker001
2015-06-27, 14:50
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) , but I find a problem that kali runs slowly , 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 ?
thank you in advance.

xhacker001
2015-06-28, 14:48
Hello any help plz ?

xhacker001
2015-07-14, 01:26
Always no resonse ! no reply ! :mad:

Crash
2015-07-14, 09:03
Hi man! Plese provide more information.

Whitch one command did you execute?
Did you check the CPU and disk usage?

Try to send someting liker that, to see the responde time:

crash@anubis:/usr/share/sqlmap-dev# time ls
CONTRIBUTING.md extra plugins README.md sqlmapapi.py sqlmap.py thirdparty udf xml
doc lib procs shell sqlmap.conf tamper txt waf

real 0m0.010s
user 0m0.000s
sys 0m0.000s

xhacker001
2015-07-15, 15:31
Hi man! Plese provide more information.

Whitch one command did you execute?
Did you check the CPU and disk usage?

Try to send someting liker that, to see the responde time:

crash@anubis:/usr/share/sqlmap-dev# time ls
CONTRIBUTING.md extra plugins README.md sqlmapapi.py sqlmap.py thirdparty udf xml
doc lib procs shell sqlmap.conf tamper txt waf

real 0m0.010s
user 0m0.000s
sys 0m0.000s
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
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% and this is a monitor system screenshot :
666
I changed swappiness to 10 ,
there is other informations about CPU etc..:


root@Pentester:~# uptime
15:59:10 up 3 min, 2 users, load average: 1,25, 1,09, 0,48
root@Pentester:~# free -m
total used free shared buffers cached
Mem: 7950 1019 6931 0 47 333
-/+ buffers/cache: 638 7312
Swap: 16277 0 16277
root@Pentester:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 801.625
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 841.585
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 803.945
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 830.671
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 799.992
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 800.765
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 870.031
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping : 7
microcode : 0x29
cpu MHz : 825.085
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt
bugs :
bogomips : 4390.36
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

and this is the time commande applied on burpsuite :

root@Pentester:~# time burpsuite
Deleting temporary files - please wait ... done.

real 0m19.886s
user 0m17.992s
sys 0m0.540s

and for sqlmap:


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

real 0m4.672s
user 0m1.416s
sys 0m0.168s

thank you for reply

Crash
2015-07-15, 17:10
Hi man!

So, about the burp does not makes sense because you need to close to burp to get the time, lets check your HD read speed first:

hdparm -I /dev/<device> | grep -i speed

and test the disk withou buffe interference:

hdparm -t --direct /dev/<device><N>

Now the write process
dd if=/dev/zero of=/tmp/wft.dsk bs=8k count=10k
rm -vf /tmp/***.dsk

This way we will know if you have any problem with your disk.

xhacker001
2015-07-17, 15:22
Hi man!

So, about the burp does not makes sense because you need to close to burp to get the time, lets check your HD read speed first:

hdparm -I /dev/<device> | grep -i speed

and test the disk withou buffe interference:

hdparm -t --direct /dev/<device><N>

Now the write process
dd if=/dev/zero of=/tmp/wft.dsk bs=8k count=10k
rm -vf /tmp/***.dsk

This way we will know if you have any problem with your disk.

Concerning the "time" command now i used it for sqlmap:


root@Pentester:~# time sqlmap
real 0m3.292s
user 0m0.416s
sys 0m0.108s

Concerning hdparm command:


hdparm -I /dev/sda | grep -i speed
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)

I used fdisk -l to show all partitions :


root@Pentester:~# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000d72d9

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 1030393855 514837504 7 HPFS/NTFS/exFAT
/dev/sda3 1030395902 1953523711 461563905 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 1030395904 1920184319 444894208 83 Linux
/dev/sda6 1920186368 1953523711 16668672 82 Linux swap / Solaris


then :


root@Pentester:~# hdparm -t --direct /dev/sda5

/dev/sda5:
Timing O_DIRECT disk reads: 270 MB in 3.00 seconds = 89.95 MB/sec


thank you in advance.

cyberjack
2015-07-18, 09:21
you could temporarily change swappiness value to 0 since you got 8 GB of ram anyway.

To check the swappiness value

cat /proc/sys/vm/swappiness should be 60 by default

To temporarily change swappiness value to 0

sysctl vm.swappiness=0


To make permanent

nano /etc/sysctl.conf

then add (or change) to read vm.swappiness=0

xhacker001
2015-07-19, 15:20
you could temporarily change swappiness value to 0 since you got 8 GB of ram anyway.

To check the swappiness value

cat /proc/sys/vm/swappiness should be 60 by default

To temporarily change swappiness value to 0

sysctl vm.swappiness=0


To make permanent

nano /etc/sysctl.conf

then add (or change) to read vm.swappiness=0

I have already 8 GB of RAM SIR that's why I put swappiness to 10

Crash
2015-07-20, 12:07
Its very weird man!

Did you already try the update?

xhacker001
2015-07-21, 23:45
Its very weird man!

Did you already try the update?

Do you mean update of system or update of swappiness to 0 ?

Crash
2015-07-22, 07:14
System update.

Maybe is something with drivers.
Sorry for dont be helpful this time.

xhacker001
2015-07-22, 15:39
System update.

Maybe is something with drivers.
Sorry for dont be helpful this time.

No problem sir about this , but yes I did many updates and upgrades and the problem persists ..
As I said I install graphic drivers etc.. but nothing is changed unfortunately ...:(

xhacker001
2015-08-04, 02:52
can someone else help me plz ?

grid
2015-10-26, 19:15
Are you still having lag issues with the latest Kali Linux? I have literally half the machine you do and the latest Kali runs fine.

dozham
2015-11-30, 09:17
I am facing the same issue as OP's.
Specifically, when I use the GUI for navigation between application (even with ALT+TAB), It sometimes takes more than 1 second for it to accomplish which is a great hassle. It even occurs sometimes when I'm typing in the browser (mostly Chrome or Chromium) address bar, it freezes for a second and then 5 characters appear suddenly at a time.
I monitored the problem for a while and could make it happen on purpose. I opened "htop" and watched the CPU usages. Everything seemed well until I pressed ALT+TAB a bunch of times and the CPU usage of "gnome-shell" rose to 60% from around 6%. When running CPU bound processes this issue becomes a ****** pain.
Would be glad to find and solve it somehow.
My machine is an ASUS N46VB laptop (Core i7 3630QM, 8 GB of RAM, enough disk space) which is far more than enough for Kali 2.0.
Intel graphics driver is installed.

Thanks in advance.