LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-14-2016, 08:04 PM   #16
Bapun007
Member
 
Registered: Dec 2010
Location: /home
Distribution: Slackware stable
Posts: 79

Original Poster
Rep: Reputation: 40

Hey guys,
I successfully able to solve the problem , I don't exactly know what solves the problem , but i changed some values [browser.sessionhistory.max_total_viewers(1),service.sync.syncinterval(600000),network.http.pipelinin g(true),network.http.pipelining.maxoptimistic-request(8) some others] at about:config,
I also disable flash hardware acceleration and firefox hardware acceleration.
This seem to fix the problem for now.

Code:
top - 06:25:49 up 14:40,  2 users,  load average: 0.59, 0.55, 0.95
Tasks: 188 total,   1 running, 187 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.7 us,  3.2 sy,  0.0 ni, 92.7 id,  0.2 wa,  0.0 hi,  0.2 si,  0.0 st
KiB Mem :  4092756 total,   310680 free,   538616 used,  3243460 buff/cache
KiB Swap: 11720076 total, 11710408 free,     9668 used.  3042700 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                 
13136 bapun     20   0 1244852 490828  96788 S   6.3 12.0  14:38.70 firefox                                                                                                 
12795 bapun     20   0    4096   2644   2336 S   4.6  0.1   1:34.89 wmpower                                                                                                 
 1296 root      20   0  200332  77032  59456 S   1.3  1.9  60:55.83 Xorg                                                                                                    
12792 bapun     20   0    7732   5044   4156 S   1.0  0.1   0:14.39 wmnd                                                                                                    
13103 bapun     20   0  104204   8852   7324 S   1.0  0.2   0:22.21 conky                                                                                                   
12809 bapun     20   0    7692   3844   2432 S   0.7  0.1   0:13.14 compton                                                                                                 
14212 bapun     20   0    3908   2488   2084 R   0.7  0.1   0:00.03 top                                                                                                     
32732 root      20   0       0      0      0 S   0.7  0.0   0:03.02 kworker/1:1                                                                                             
    7 root      20   0       0      0      0 S   0.3  0.0   5:43.30 rcu_sched                                                                                               
12810 bapun     20   0  118268  43116  36492 S   0.3  1.1   0:03.48 yakuake                                                                                                 
30902 root      20   0       0      0      0 S   0.3  0.0   0:04.02 kworker/u4:0                                                                                            
    1 root      20   0    2116   1308   1284 S   0.0  0.0   0:02.46 init                                                                                                    
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.03 kthreadd                                                                                                
    3 root      20   0       0      0      0 S   0.0  0.0   0:08.62 ksoftirqd/0                                                                                             
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H                                                                                            
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh                                                                                                  
    9 root      rt   0       0      0      0 S   0.0  0.0   0:00.47 migration/0
But it still uses high cpu for html5, which is fine for now.

Thanks all for helping , i am marking the thread solved.

Last edited by Bapun007; 10-14-2016 at 08:05 PM.
 
1 members found this post helpful.
Old 10-14-2016, 09:06 PM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you had to disable hardware acceleration, I wonder if it screwed something up with your video card drivers... then, since both Chrome and Firefox use hardware acceleration, it might've all been offloaded to the CPU, which as we know, is incredibly slow compared to the GPU for acceleration.
 
Old 10-15-2016, 12:41 AM   #18
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by bassmadrigal View Post
If you had to disable hardware acceleration, I wonder if it screwed something up with your video card drivers... then, since both Chrome and Firefox use hardware acceleration, it might've all been offloaded to the CPU, which as we know, is incredibly slow compared to the GPU for acceleration.
There I agree with you, and looks like the thread title was in fact a false flag.

In fact, looking at OP's last top, I'm amazed to not see (on his last top) some kernel daemons like kdevtmpfs, kswapd0, writeback, etc...

Also, looks like he's a fan of very lightweight things, using the WindowMaker as desktop.

Then, my bet is that he heavy "customized" his operating system and kernel, not even using (U)DEV and making a shiny "little" kernel, which does not contains the required DRM drivers.

Long story short, it is clear that his 3D acceleration does not work at all, probably from "power failure" reasons...

Last edited by Darth Vader; 10-15-2016 at 12:45 AM.
 
Old 10-15-2016, 10:41 AM   #19
Bapun007
Member
 
Registered: Dec 2010
Location: /home
Distribution: Slackware stable
Posts: 79

Original Poster
Rep: Reputation: 40
No sir, The problem was with firefox and chrome , all other applications with 3d acceleration work fine including kde cube effects, and 3d games(counter strike,urban terror, sauerbraten).

@Darth Vader
I use standard slackware14.2 with out any customization , I use fluxbox because i dont want kde eating my system resources while I play games or do some other stupid thing

kdevtmpfs, kswapd0, writeback uses very less cpu/ram so they dont show up on top of top output

Last edited by Bapun007; 10-15-2016 at 10:46 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/X high CPU usage when using Firefox and watching video on Mplayer batabuntu Linux Mint 3 10-31-2014 12:08 AM
Squid 3 near 100% cpu usage and high RAM usage piman Linux - Software 1 11-16-2013 02:20 AM
mysql server not responding with high cpu usage and high load avgs landysaccount Linux - Server 2 09-15-2013 03:46 AM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 09:24 AM
Firefox error dumping to syslog with high CPU and mem usage unassailable Gentoo 7 11-29-2012 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration