public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Adobe-flash becomes quite slow.
@ 2011-04-01 14:35 Einux
  2011-04-01 20:05 ` Volker Armin Hemmann
  2011-04-02 11:27 ` [gentoo-user] " walt
  0 siblings, 2 replies; 6+ messages in thread
From: Einux @ 2011-04-01 14:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Adobe-flash becomes quite slow in my laptop after I updated world(or maybe I
reconfigured kernel options) several days ago. I've made a lot of
modifications, so I'm not sure exactly which action leads to the malfunction
of adobe-flash.

I use the latest stable version of adobe-flash(10.2.153.1),
nvidia(260.19.36).

What you guys know what factors are affecting the performance of
adobe-flash?

Here's the recent main modifications to my system:
1. (/etc/make.conf) change CFLAGS and CXXFLAGS from "-O2 -march=i686 -pipe"
to "-O2 -march=native -fomit-frame-pointer -pipe"
2. change the *Preemption Model" in the kernel config from "Voluntary Kernel
Preemption" to "Preemptible Kernel"
3. excluded SMT scheduler support in the kernel config(my CPU doesn't
support hyper-threading)
4. I tried the latest 2.6.38 gentoo-sources, and roll back to 2.6.36-r8

Thanks in advance :)

-- 
Best Regards,
Einux

[-- Attachment #2: Type: text/html, Size: 1659 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Adobe-flash becomes quite slow.
       [not found]   ` <AANLkTikNjxn1yBxkh9M4UGo4TPX2pzROsa7JT2XN7Kd+@mail.gmail.com>
@ 2011-04-01 15:08     ` Elaine C. Sharpe
  0 siblings, 0 replies; 6+ messages in thread
From: Elaine C. Sharpe @ 2011-04-01 15:08 UTC (permalink / raw
  To: gentoo-user, einuxnet

On Fri, Apr 01, 2011 at 10:56:56PM +0800, Einux wrote:
>    Here's my lspci result:
> 
>    {{{
> 
>    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
>    Controller Hub (rev 07)
>    00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI
>    Express Graphics Port (rev 07)
>    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #4 (rev 03)
>    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #5 (rev 03)
>    00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #6 (rev 03)
>    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
>    EHCI Controller #2 (rev 03)
>    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
>    Controller (rev 03)
>    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
>    Port 1 (rev 03)
>    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
>    Port 2 (rev 03)
>    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
>    Port 3 (rev 03)
>    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
>    Port 4 (rev 03)
>    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
>    Port 6 (rev 03)
>    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #1 (rev 03)
>    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #2 (rev 03)
>    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>    Controller #3 (rev 03)
>    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2
>    EHCI Controller #1 (rev 03)
>    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
>    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller
>    (rev 03)
>    00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
>    Controller (rev 03)
>    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller
>    (rev 03)
>    01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce
>    9300M GS] (rev a1)
>    02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host
>    Controller
>    02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host
>    Controller
>    02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
>    04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev
>    01)
>    07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast
>    Ethernet PCI Express (rev 02)
>    }}}
>    I've only specified VIDEO_CARDS="nvidia" in my make.conf.
>    The problem appeared about 5 days ago, and I have been changing my
>    configurations all the time. And I issued "emerge -avuDN world" every
>    time after I made some changes:)
>

[note: I replied back to the list (which appears to be misconfigured today,
"reply" sends to the original sender instead of the list as normal).]

Have you rebuilt your nvidia card's x11 drivers?

--
caveat utilitor





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Adobe-flash becomes quite slow.
  2011-04-01 14:35 [gentoo-user] Adobe-flash becomes quite slow Einux
@ 2011-04-01 20:05 ` Volker Armin Hemmann
  2011-04-02 10:41   ` Einux
  2011-04-02 11:27 ` [gentoo-user] " walt
  1 sibling, 1 reply; 6+ messages in thread
From: Volker Armin Hemmann @ 2011-04-01 20:05 UTC (permalink / raw
  To: gentoo-user

On Friday 01 April 2011 22:35:39 Einux wrote:
> Adobe-flash becomes quite slow in my laptop after I updated world(or maybe I
> reconfigured kernel options) several days ago. I've made a lot of
> modifications, so I'm not sure exactly which action leads to the malfunction
> of adobe-flash.

adobe flash is just slow with composite. And its performance differs greatly 
between minor versions.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Adobe-flash becomes quite slow.
  2011-04-01 20:05 ` Volker Armin Hemmann
@ 2011-04-02 10:41   ` Einux
  0 siblings, 0 replies; 6+ messages in thread
From: Einux @ 2011-04-02 10:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1952 bytes --]

I use strace to trace syscalls of
`/opt/Adobe/flash-player/libflashplayer.so` and found many errors like this:
{{{
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
madvise(0xdf20000, 3424256, MADV_DONTNEED) = 0
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
}}}

Any ideas?

Thanks in advance :)

On Sat, Apr 2, 2011 at 4:05 AM, Volker Armin Hemmann <
volkerarmin@googlemail.com> wrote:

> On Friday 01 April 2011 22:35:39 Einux wrote:
> > Adobe-flash becomes quite slow in my laptop after I updated world(or
> maybe I
> > reconfigured kernel options) several days ago. I've made a lot of
> > modifications, so I'm not sure exactly which action leads to the
> malfunction
> > of adobe-flash.
>
> adobe flash is just slow with composite. And its performance differs
> greatly
> between minor versions.
>
>


-- 
Best Regards,
Einux

[-- Attachment #2: Type: text/html, Size: 2813 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: Adobe-flash becomes quite slow.
  2011-04-01 14:35 [gentoo-user] Adobe-flash becomes quite slow Einux
  2011-04-01 20:05 ` Volker Armin Hemmann
@ 2011-04-02 11:27 ` walt
  2011-04-02 12:42   ` Einux
  1 sibling, 1 reply; 6+ messages in thread
From: walt @ 2011-04-02 11:27 UTC (permalink / raw
  To: gentoo-user

On 04/01/2011 07:35 AM, Einux wrote:
> Adobe-flash becomes quite slow in my laptop after I updated world(or maybe I reconfigured kernel options) several days ago. I've made a lot of modifications, so I'm not sure exactly which action leads to the malfunction of adobe-flash.
>
> I use the latest stable version of adobe-flash(10.2.153.1), nvidia(260.19.36).
>
> What you guys know what factors are affecting the performance of adobe-flash?
>
> Here's the recent main modifications to my system:
> 1. (/etc/make.conf) change CFLAGS and CXXFLAGS from "-O2 -march=i686 -pipe" to "-O2 -march=native -fomit-frame-pointer -pipe"
> 2. change the *Preemption Model" in the kernel config from "Voluntary Kernel Preemption" to "Preemptible Kernel"
> 3. excluded SMT scheduler support in the kernel config(my CPU doesn't support hyper-threading)
> 4. I tried the latest 2.6.38 gentoo-sources, and roll back to 2.6.36-r8

Make sure you are using the nvidia proprietary libraries:

$eselect opengl list
Available OpenGL implementations:
   [1]   nvidia *   <---------- this one
   [2]   xorg-x11




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: Adobe-flash becomes quite slow.
  2011-04-02 11:27 ` [gentoo-user] " walt
@ 2011-04-02 12:42   ` Einux
  0 siblings, 0 replies; 6+ messages in thread
From: Einux @ 2011-04-02 12:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

I did set opengl to use nvidia. ;)

On Sat, Apr 2, 2011 at 7:27 PM, walt <w41ter@gmail.com> wrote:

> On 04/01/2011 07:35 AM, Einux wrote:
>
>> Adobe-flash becomes quite slow in my laptop after I updated world(or maybe
>> I reconfigured kernel options) several days ago. I've made a lot of
>> modifications, so I'm not sure exactly which action leads to the malfunction
>> of adobe-flash.
>>
>> I use the latest stable version of adobe-flash(10.2.153.1),
>> nvidia(260.19.36).
>>
>> What you guys know what factors are affecting the performance of
>> adobe-flash?
>>
>> Here's the recent main modifications to my system:
>> 1. (/etc/make.conf) change CFLAGS and CXXFLAGS from "-O2 -march=i686
>> -pipe" to "-O2 -march=native -fomit-frame-pointer -pipe"
>> 2. change the *Preemption Model" in the kernel config from "Voluntary
>> Kernel Preemption" to "Preemptible Kernel"
>> 3. excluded SMT scheduler support in the kernel config(my CPU doesn't
>> support hyper-threading)
>> 4. I tried the latest 2.6.38 gentoo-sources, and roll back to 2.6.36-r8
>>
>
> Make sure you are using the nvidia proprietary libraries:
>
> $eselect opengl list
> Available OpenGL implementations:
>  [1]   nvidia *   <---------- this one
>  [2]   xorg-x11
>
>
>


-- 
Best Regards,
Einux

[-- Attachment #2: Type: text/html, Size: 1892 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-02 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 14:35 [gentoo-user] Adobe-flash becomes quite slow Einux
2011-04-01 20:05 ` Volker Armin Hemmann
2011-04-02 10:41   ` Einux
2011-04-02 11:27 ` [gentoo-user] " walt
2011-04-02 12:42   ` Einux
     [not found] <gCNG1-13Z-3@gated-at.bofh.it>
     [not found] ` <20110401145205.GA10740@gaurahari>
     [not found]   ` <AANLkTikNjxn1yBxkh9M4UGo4TPX2pzROsa7JT2XN7Kd+@mail.gmail.com>
2011-04-01 15:08     ` [gentoo-user] " Elaine C. Sharpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox