All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-05  1:58 [PATCH] drm/i915: set IDICOS to medium uncore resources Ben Widawsky
@ 2012-05-04 20:40 ` Jesse Barnes
  2012-05-04 21:00   ` Daniel Vetter
  2012-05-06  3:04   ` Ben Widawsky
  2012-05-07  6:51 ` Eric Anholt
  2012-06-18  8:35 ` Daniel Vetter
  2 siblings, 2 replies; 11+ messages in thread
From: Jesse Barnes @ 2012-05-04 20:40 UTC (permalink / raw)
  To: Ben Widawsky; +Cc: intel-gfx, Kilarski, Bernard R

On Fri,  4 May 2012 18:58:59 -0700
Ben Widawsky <ben@bwidawsk.net> wrote:

> I'm seeing about a 5% FPS improvement across various benchmarks on my
> IVB i3. Rumor has it that the higher end parts show even more benefit.
> 
> This derives from a patch originally given to me by Bernard. The docs
> are  confusing about the definition names (ie. medium really seems
> like max), but it would seem it gives more cache to the GT at the
> expense of uncore. This configuration makes the split most in favor
> of the GT. I've not tried the other IDICOS values.

Bringing the IRC discussion here.  I think this is really at the
expense (though not really) of the CPU, since it allows the GPU to use
more of the shared CPU/GPU cache in the uncore.

You can fix up the #define names if you want; the MEDIUM etc may be
from an old, incorrect doc.  They were added awhile back.

Jesse

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-04 20:40 ` Jesse Barnes
@ 2012-05-04 21:00   ` Daniel Vetter
  2012-05-07  6:02     ` Ben Widawsky
  2012-05-06  3:04   ` Ben Widawsky
  1 sibling, 1 reply; 11+ messages in thread
From: Daniel Vetter @ 2012-05-04 21:00 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: Ben Widawsky, intel-gfx, Kilarski, Bernard R

On Fri, May 04, 2012 at 01:40:27PM -0700, Jesse Barnes wrote:
> On Fri,  4 May 2012 18:58:59 -0700
> Ben Widawsky <ben@bwidawsk.net> wrote:
> 
> > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > 
> > This derives from a patch originally given to me by Bernard. The docs
> > are  confusing about the definition names (ie. medium really seems
> > like max), but it would seem it gives more cache to the GT at the
> > expense of uncore. This configuration makes the split most in favor
> > of the GT. I've not tried the other IDICOS values.
> 
> Bringing the IRC discussion here.  I think this is really at the
> expense (though not really) of the CPU, since it allows the GPU to use
> more of the shared CPU/GPU cache in the uncore.
> 
> You can fix up the #define names if you want; the MEDIUM etc may be
> from an old, incorrect doc.  They were added awhile back.

Another perk from me: Can you do some benchmarking of this for snb, too?
-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

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

* [PATCH] drm/i915: set IDICOS to medium uncore resources
@ 2012-05-05  1:58 Ben Widawsky
  2012-05-04 20:40 ` Jesse Barnes
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ben Widawsky @ 2012-05-05  1:58 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky, Kilarski, Bernard R

I'm seeing about a 5% FPS improvement across various benchmarks on my
IVB i3. Rumor has it that the higher end parts show even more benefit.

This derives from a patch originally given to me by Bernard. The docs
are  confusing about the definition names (ie. medium really seems like
max), but it would seem it gives more cache to the GT at the expense of
uncore. This configuration makes the split most in favor of the GT. I've
not tried the other IDICOS values.

Cc: "Kilarski, Bernard R" <bernard.r.kilarski@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
 drivers/gpu/drm/i915/intel_pm.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 4389234..4af7d2b 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3323,6 +3323,7 @@ static void ivybridge_init_clock_gating(struct drm_device *dev)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int pipe;
 	uint32_t dspclk_gate = VRHUNIT_CLOCK_GATE_DISABLE;
+	uint32_t snpcr;
 
 	I915_WRITE(PCH_DSPCLK_GATE_D, dspclk_gate);
 
@@ -3368,6 +3369,11 @@ static void ivybridge_init_clock_gating(struct drm_device *dev)
 	/* WaDisable4x2SubspanOptimization */
 	I915_WRITE(CACHE_MODE_1,
 		   _MASKED_BIT_ENABLE(PIXEL_SUBSPAN_COLLECT_OPT_DISABLE));
+
+	snpcr = I915_READ(GEN6_MBCUNIT_SNPCR);
+	snpcr &= ~GEN6_MBC_SNPCR_MASK;
+	snpcr |= GEN6_MBC_SNPCR_MED;
+	I915_WRITE(GEN6_MBCUNIT_SNPCR, snpcr);
 }
 
 static void valleyview_init_clock_gating(struct drm_device *dev)
-- 
1.7.10.1

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-04 20:40 ` Jesse Barnes
  2012-05-04 21:00   ` Daniel Vetter
@ 2012-05-06  3:04   ` Ben Widawsky
  1 sibling, 0 replies; 11+ messages in thread
From: Ben Widawsky @ 2012-05-06  3:04 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: intel-gfx, Kilarski, Bernard R

On Fri, 4 May 2012 13:40:27 -0700
Jesse Barnes <jbarnes@virtuousgeek.org> wrote:

> On Fri,  4 May 2012 18:58:59 -0700
> Ben Widawsky <ben@bwidawsk.net> wrote:
> 
> > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > 
> > This derives from a patch originally given to me by Bernard. The docs
> > are  confusing about the definition names (ie. medium really seems
> > like max), but it would seem it gives more cache to the GT at the
> > expense of uncore. This configuration makes the split most in favor
> > of the GT. I've not tried the other IDICOS values.
> 
> Bringing the IRC discussion here.  I think this is really at the
> expense (though not really) of the CPU, since it allows the GPU to use
> more of the shared CPU/GPU cache in the uncore.
> 
> You can fix up the #define names if you want; the MEDIUM etc may be
> from an old, incorrect doc.  They were added awhile back.
> 
> Jesse

The names match current docs. Presumably they mean something to someone.
I don't feel the need to modify them as such.

-- 
Ben Widawsky, Intel Open Source Technology Center

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-04 21:00   ` Daniel Vetter
@ 2012-05-07  6:02     ` Ben Widawsky
  0 siblings, 0 replies; 11+ messages in thread
From: Ben Widawsky @ 2012-05-07  6:02 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx, Kilarski, Bernard R

On Fri, 4 May 2012 23:00:32 +0200
Daniel Vetter <daniel@ffwll.ch> wrote:

> On Fri, May 04, 2012 at 01:40:27PM -0700, Jesse Barnes wrote:
> > On Fri,  4 May 2012 18:58:59 -0700
> > Ben Widawsky <ben@bwidawsk.net> wrote:
> > 
> > > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > > 
> > > This derives from a patch originally given to me by Bernard. The docs
> > > are  confusing about the definition names (ie. medium really seems
> > > like max), but it would seem it gives more cache to the GT at the
> > > expense of uncore. This configuration makes the split most in favor
> > > of the GT. I've not tried the other IDICOS values.
> > 
> > Bringing the IRC discussion here.  I think this is really at the
> > expense (though not really) of the CPU, since it allows the GPU to use
> > more of the shared CPU/GPU cache in the uncore.
> > 
> > You can fix up the #define names if you want; the MEDIUM etc may be
> > from an old, incorrect doc.  They were added awhile back.
> 
> Another perk from me: Can you do some benchmarking of this for snb, too?
> -Daniel

I didn't see such gains on my SNB. I ran half as many benchmarks, one
had almost 2% improvement, the other had a slight performance
regression.

Honestly, I'm a bit surprised by this, I may spend some more time to see
what happens.

-- 
Ben Widawsky, Intel Open Source Technology Center

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-05  1:58 [PATCH] drm/i915: set IDICOS to medium uncore resources Ben Widawsky
  2012-05-04 20:40 ` Jesse Barnes
@ 2012-05-07  6:51 ` Eric Anholt
  2012-05-07 16:32   ` Ben Widawsky
  2012-06-14  6:36   ` Eric Anholt
  2012-06-18  8:35 ` Daniel Vetter
  2 siblings, 2 replies; 11+ messages in thread
From: Eric Anholt @ 2012-05-07  6:51 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky, Kilarski, Bernard R


[-- Attachment #1.1: Type: text/plain, Size: 4146 bytes --]

On Fri,  4 May 2012 18:58:59 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> I'm seeing about a 5% FPS improvement across various benchmarks on my
> IVB i3. Rumor has it that the higher end parts show even more benefit.
> 
> This derives from a patch originally given to me by Bernard. The docs
> are  confusing about the definition names (ie. medium really seems like
> max), but it would seem it gives more cache to the GT at the expense of
> uncore. This configuration makes the split most in favor of the GT. I've
> not tried the other IDICOS values.

My IVB system started with an SNBPCR value of 0x1b40.  To test the effect of
this patch, I just smashed the value of the reg at runtime:

Results:
x intel_reg_write 0x900c 0x001b40
+ intel_reg_write 0x900c 0x201b40

citybench:
+------------------------------------------------------------------------------+
|                   xxx                          +                             |
|   x               xxx          +               + +                           |
|   x               xxx          +               +++                           |
|   x               xxx          +            + ++++                           |
|   xx             xxxx          +            + ++++                           |
|x xxx           x xxxx        + +            ++++++ ++                        |
|xxxxx          xxxxxxxx       + + + +        +*++++ ++                        |
|xxxxxxxxx      xxxxxxxx x     +++++ ++++     +*+++++++                        |
|xxxxxxxxx    xxxxxxxxxx x     ++++++++++   ++**+++++++ +          +           |
|xxxxxxxxx  xxxxxxxxxxxxxx    *++++++++++++ ****+*++++++++      +  ++++++     +|
|    |___________AM_________|       |_________A_M_______|                      |
+------------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x 118       335.779       387.456       354.306     352.63131     12.462796
+ 118       367.324        419.02        386.14     384.47139     10.970918
Difference at 95.0% confidence
	31.8401 +/- 2.99585
	9.02928% +/- 0.849569%
	(Student's t, pooled s = 11.7406)

openarena:
+------------------------------------------------------------------------------+
|         +                ++                                xx xx x  x xx     |
|         +      +         ++ + +                            xxxxxxx xxxxx     |
|        +++  ++++++++++ ++++++ ++ +                    x  xxxxxxxxxxxxxxx   xx|
|++ + ++++++++++++++++++++++++++++ + + +             x  x xxxxxxxxxxxxxxxxxx xx|
|          |_________A________|                              |_____A____|      |
+------------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x  65         273.5         292.2           284     283.73385     4.2561822
+  65         234.8         263.2         249.9         249.6     6.9873323
Difference at 95.0% confidence
	-34.1338 +/- 1.989
	-12.0302% +/- 0.70101%

nexuiz:
+------------------------------------------------------------------------------+
|                                                                 +            |
|                                                   x        +    +            |
|                                             +     x   x xx *x+  +x           |
|+     +         +        x   *x+x xxx    + x++ + x+*xxxx+x***x+++*x**+x ++  *+|
|                                   |____|____________AAM____M_____|______|    |
+------------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x  33     74.314888     76.177197     75.424764     75.332161    0.48205891
+  33     73.397254     76.219868     75.584749     75.363209    0.69408523

Using these 3 tests, this patch does not look like a win.  Note that OA
is the most CPU-bound of these, while nexuiz is usually on the edge
between being CPU and GPU-bound, and citybench is definitely GPU
limited.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-07  6:51 ` Eric Anholt
@ 2012-05-07 16:32   ` Ben Widawsky
  2012-06-14  6:36   ` Eric Anholt
  1 sibling, 0 replies; 11+ messages in thread
From: Ben Widawsky @ 2012-05-07 16:32 UTC (permalink / raw)
  To: Eric Anholt; +Cc: intel-gfx, Kilarski, Bernard R

On Sun, 06 May 2012 23:51:26 -0700
Eric Anholt <eric@anholt.net> wrote:

> On Fri,  4 May 2012 18:58:59 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > 
> > This derives from a patch originally given to me by Bernard. The docs
> > are  confusing about the definition names (ie. medium really seems like
> > max), but it would seem it gives more cache to the GT at the expense of
> > uncore. This configuration makes the split most in favor of the GT. I've
> > not tried the other IDICOS values.
> 
> My IVB system started with an SNBPCR value of 0x1b40.  To test the effect of
> this patch, I just smashed the value of the reg at runtime:
> 
> Results:
> x intel_reg_write 0x900c 0x001b40
> + intel_reg_write 0x900c 0x201b40
> 
> citybench:
> +------------------------------------------------------------------------------+
> |                   xxx                          +                             |
> |   x               xxx          +               + +                           |
> |   x               xxx          +               +++                           |
> |   x               xxx          +            + ++++                           |
> |   xx             xxxx          +            + ++++                           |
> |x xxx           x xxxx        + +            ++++++ ++                        |
> |xxxxx          xxxxxxxx       + + + +        +*++++ ++                        |
> |xxxxxxxxx      xxxxxxxx x     +++++ ++++     +*+++++++                        |
> |xxxxxxxxx    xxxxxxxxxx x     ++++++++++   ++**+++++++ +          +           |
> |xxxxxxxxx  xxxxxxxxxxxxxx    *++++++++++++ ****+*++++++++      +  ++++++     +|
> |    |___________AM_________|       |_________A_M_______|                      |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x 118       335.779       387.456       354.306     352.63131     12.462796
> + 118       367.324        419.02        386.14     384.47139     10.970918
> Difference at 95.0% confidence
> 	31.8401 +/- 2.99585
> 	9.02928% +/- 0.849569%
> 	(Student's t, pooled s = 11.7406)
> 
> openarena:
> +------------------------------------------------------------------------------+
> |         +                ++                                xx xx x  x xx     |
> |         +      +         ++ + +                            xxxxxxx xxxxx     |
> |        +++  ++++++++++ ++++++ ++ +                    x  xxxxxxxxxxxxxxx   xx|
> |++ + ++++++++++++++++++++++++++++ + + +             x  x xxxxxxxxxxxxxxxxxx xx|
> |          |_________A________|                              |_____A____|      |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x  65         273.5         292.2           284     283.73385     4.2561822
> +  65         234.8         263.2         249.9         249.6     6.9873323
> Difference at 95.0% confidence
> 	-34.1338 +/- 1.989
> 	-12.0302% +/- 0.70101%
> 
> nexuiz:
> +------------------------------------------------------------------------------+
> |                                                                 +            |
> |                                                   x        +    +            |
> |                                             +     x   x xx *x+  +x           |
> |+     +         +        x   *x+x xxx    + x++ + x+*xxxx+x***x+++*x**+x ++  *+|
> |                                   |____|____________AAM____M_____|______|    |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x  33     74.314888     76.177197     75.424764     75.332161    0.48205891
> +  33     73.397254     76.219868     75.584749     75.363209    0.69408523
> 
> Using these 3 tests, this patch does not look like a win.  Note that OA
> is the most CPU-bound of these, while nexuiz is usually on the edge
> between being CPU and GPU-bound, and citybench is definitely GPU
> limited.

Strange. It would be helpful to start to investigate these systems I
suppose. This is basically what I see on my SNB (though I use xonotic
instead of nexuiz). My SNB is an i7, and my IVB is an i3.
Below are the interesting ones from IVB (I've lost OA somehow).

x xonotic_dinq_fps
+ xonotic_poland_fps
+----------------------------------------------------------------------+
|        x       xx                                             +      |
|x x     xx  +*x *x+                                +      +   ++  +  +|
|     |_____A_M___|  |_______________________A_____________M__________||
+----------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x  11     98.398296     101.24008     100.58156     100.19283    0.97987835
+  11     100.33134     109.63333     107.76804      105.6379      3.939517
Difference at 95.0% confidence
        5.44507 +/- 2.55327
        5.43459% +/- 2.54835%
        (Student's t, pooled s = 2.87054)


Not sure why my citybench numbers are so low

x citybench_dinq_fps
+ citybench_poland_fps
+----------------------------------------------------------------------+
|    xxxxxx    x          +               +     +                      |
|+x xxxxxxx xx x          + + +  +        +  ++ +   +         ++  ++  +|
|    |_MA__|              |_________________AM________________|        |
+----------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x  26       196.857       200.568      198.4245     198.56062     0.8468172
+  18        196.69       215.299      208.6485     208.31394     4.8783414
Difference at 95.0% confidence
        9.75333 +/- 1.96251
        4.91202% +/- 0.988368%
        (Student's t, pooled s = 3.17166)


-- 
Ben Widawsky, Intel Open Source Technology Center

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-07  6:51 ` Eric Anholt
  2012-05-07 16:32   ` Ben Widawsky
@ 2012-06-14  6:36   ` Eric Anholt
  1 sibling, 0 replies; 11+ messages in thread
From: Eric Anholt @ 2012-06-14  6:36 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky, Kilarski, Bernard R


[-- Attachment #1.1: Type: text/plain, Size: 4892 bytes --]

On Sun, 06 May 2012 23:51:26 -0700, Eric Anholt <eric@anholt.net> wrote:
> On Fri,  4 May 2012 18:58:59 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > 
> > This derives from a patch originally given to me by Bernard. The docs
> > are  confusing about the definition names (ie. medium really seems like
> > max), but it would seem it gives more cache to the GT at the expense of
> > uncore. This configuration makes the split most in favor of the GT. I've
> > not tried the other IDICOS values.
> 
> My IVB system started with an SNBPCR value of 0x1b40.  To test the effect of
> this patch, I just smashed the value of the reg at runtime:
> 
> Results:
> x intel_reg_write 0x900c 0x001b40
> + intel_reg_write 0x900c 0x201b40
> 
> citybench:
> +------------------------------------------------------------------------------+
> |                   xxx                          +                             |
> |   x               xxx          +               + +                           |
> |   x               xxx          +               +++                           |
> |   x               xxx          +            + ++++                           |
> |   xx             xxxx          +            + ++++                           |
> |x xxx           x xxxx        + +            ++++++ ++                        |
> |xxxxx          xxxxxxxx       + + + +        +*++++ ++                        |
> |xxxxxxxxx      xxxxxxxx x     +++++ ++++     +*+++++++                        |
> |xxxxxxxxx    xxxxxxxxxx x     ++++++++++   ++**+++++++ +          +           |
> |xxxxxxxxx  xxxxxxxxxxxxxx    *++++++++++++ ****+*++++++++      +  ++++++     +|
> |    |___________AM_________|       |_________A_M_______|                      |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x 118       335.779       387.456       354.306     352.63131     12.462796
> + 118       367.324        419.02        386.14     384.47139     10.970918
> Difference at 95.0% confidence
> 	31.8401 +/- 2.99585
> 	9.02928% +/- 0.849569%
> 	(Student's t, pooled s = 11.7406)
> 
> openarena:
> +------------------------------------------------------------------------------+
> |         +                ++                                xx xx x  x xx     |
> |         +      +         ++ + +                            xxxxxxx xxxxx     |
> |        +++  ++++++++++ ++++++ ++ +                    x  xxxxxxxxxxxxxxx   xx|
> |++ + ++++++++++++++++++++++++++++ + + +             x  x xxxxxxxxxxxxxxxxxx xx|
> |          |_________A________|                              |_____A____|      |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x  65         273.5         292.2           284     283.73385     4.2561822
> +  65         234.8         263.2         249.9         249.6     6.9873323
> Difference at 95.0% confidence
> 	-34.1338 +/- 1.989
> 	-12.0302% +/- 0.70101%
> 
> nexuiz:
> +------------------------------------------------------------------------------+
> |                                                                 +            |
> |                                                   x        +    +            |
> |                                             +     x   x xx *x+  +x           |
> |+     +         +        x   *x+x xxx    + x++ + x+*xxxx+x***x+++*x**+x ++  *+|
> |                                   |____|____________AAM____M_____|______|    |
> +------------------------------------------------------------------------------+
>     N           Min           Max        Median           Avg        Stddev
> x  33     74.314888     76.177197     75.424764     75.332161    0.48205891
> +  33     73.397254     76.219868     75.584749     75.363209    0.69408523
> 
> Using these 3 tests, this patch does not look like a win.  Note that OA
> is the most CPU-bound of these, while nexuiz is usually on the edge
> between being CPU and GPU-bound, and citybench is definitely GPU
> limited.

Re-testing, openarena (1024x768) currently is about a 2.5% +/- 0.5%
loss (lost the numbers).  Also, new tropics numbers:

    N           Min           Max        Median           Avg        Stddev
x  70       21.9718       22.2166       22.1556     22.154501   0.029139432
+  69       22.7246       22.9308       22.8914     22.888735   0.027248939
Difference at 95.0% confidence
	0.734233 +/- 0.00938209
	3.31415% +/- 0.0423485%
	(Student's t, pooled s = 0.0282169)

That swings things in favor of the patch for me.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-05-05  1:58 [PATCH] drm/i915: set IDICOS to medium uncore resources Ben Widawsky
  2012-05-04 20:40 ` Jesse Barnes
  2012-05-07  6:51 ` Eric Anholt
@ 2012-06-18  8:35 ` Daniel Vetter
  2012-07-16 10:29   ` Chris Wilson
  2 siblings, 1 reply; 11+ messages in thread
From: Daniel Vetter @ 2012-06-18  8:35 UTC (permalink / raw)
  To: Ben Widawsky; +Cc: intel-gfx, Kilarski, Bernard R

On Fri, May 04, 2012 at 06:58:59PM -0700, Ben Widawsky wrote:
> I'm seeing about a 5% FPS improvement across various benchmarks on my
> IVB i3. Rumor has it that the higher end parts show even more benefit.
> 
> This derives from a patch originally given to me by Bernard. The docs
> are  confusing about the definition names (ie. medium really seems like
> max), but it would seem it gives more cache to the GT at the expense of
> uncore. This configuration makes the split most in favor of the GT. I've
> not tried the other IDICOS values.
> 
> Cc: "Kilarski, Bernard R" <bernard.r.kilarski@intel.com>
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Queued for -next, with Eric's ack added. Although I've had fix the patch,
it didn't compile :(
-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-06-18  8:35 ` Daniel Vetter
@ 2012-07-16 10:29   ` Chris Wilson
  2012-07-18 16:07     ` Eric Anholt
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Wilson @ 2012-07-16 10:29 UTC (permalink / raw)
  To: Daniel Vetter, Ben Widawsky; +Cc: intel-gfx, Kilarski, Bernard R

On Mon, 18 Jun 2012 10:35:54 +0200, Daniel Vetter <daniel@ffwll.ch> wrote:
> On Fri, May 04, 2012 at 06:58:59PM -0700, Ben Widawsky wrote:
> > I'm seeing about a 5% FPS improvement across various benchmarks on my
> > IVB i3. Rumor has it that the higher end parts show even more benefit.
> > 
> > This derives from a patch originally given to me by Bernard. The docs
> > are  confusing about the definition names (ie. medium really seems like
> > max), but it would seem it gives more cache to the GT at the expense of
> > uncore. This configuration makes the split most in favor of the GT. I've
> > not tried the other IDICOS values.
> > 
> > Cc: "Kilarski, Bernard R" <bernard.r.kilarski@intel.com>
> > Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
> Queued for -next, with Eric's ack added. Although I've had fix the patch,
> it didn't compile :(

So this introduces a 10% (205 to 185 fps on an i7-3720qm @10x7) performance
regression on good old CPU bound padman, but one large win with alpha
compositing the same texture over and over again (fishtank 7.8s to 6.8s).

Oh well, there's plenty of overhead in mesa to recover -- reading the
profiles it is rate limited by the cpu overhead in i965_dri.so.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

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

* Re: [PATCH] drm/i915: set IDICOS to medium uncore resources
  2012-07-16 10:29   ` Chris Wilson
@ 2012-07-18 16:07     ` Eric Anholt
  0 siblings, 0 replies; 11+ messages in thread
From: Eric Anholt @ 2012-07-18 16:07 UTC (permalink / raw)
  To: Chris Wilson, Daniel Vetter, Ben Widawsky; +Cc: intel-gfx, Kilarski, Bernard R


[-- Attachment #1.1: Type: text/plain, Size: 1408 bytes --]

Chris Wilson <chris@chris-wilson.co.uk> writes:

> On Mon, 18 Jun 2012 10:35:54 +0200, Daniel Vetter <daniel@ffwll.ch> wrote:
>> On Fri, May 04, 2012 at 06:58:59PM -0700, Ben Widawsky wrote:
>> > I'm seeing about a 5% FPS improvement across various benchmarks on my
>> > IVB i3. Rumor has it that the higher end parts show even more benefit.
>> > 
>> > This derives from a patch originally given to me by Bernard. The docs
>> > are  confusing about the definition names (ie. medium really seems like
>> > max), but it would seem it gives more cache to the GT at the expense of
>> > uncore. This configuration makes the split most in favor of the GT. I've
>> > not tried the other IDICOS values.
>> > 
>> > Cc: "Kilarski, Bernard R" <bernard.r.kilarski@intel.com>
>> > Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
>> Queued for -next, with Eric's ack added. Although I've had fix the patch,
>> it didn't compile :(
>
> So this introduces a 10% (205 to 185 fps on an i7-3720qm @10x7) performance
> regression on good old CPU bound padman, but one large win with alpha
> compositing the same texture over and over again (fishtank 7.8s to 6.8s).
>
> Oh well, there's plenty of overhead in mesa to recover -- reading the
> profiles it is rate limited by the cpu overhead in i965_dri.so.

Yeah, the plan for CPU overhead is threading the dispatch -- it's what every
other driver does.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2012-07-18 16:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-05  1:58 [PATCH] drm/i915: set IDICOS to medium uncore resources Ben Widawsky
2012-05-04 20:40 ` Jesse Barnes
2012-05-04 21:00   ` Daniel Vetter
2012-05-07  6:02     ` Ben Widawsky
2012-05-06  3:04   ` Ben Widawsky
2012-05-07  6:51 ` Eric Anholt
2012-05-07 16:32   ` Ben Widawsky
2012-06-14  6:36   ` Eric Anholt
2012-06-18  8:35 ` Daniel Vetter
2012-07-16 10:29   ` Chris Wilson
2012-07-18 16:07     ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.