* [Intel-gfx] [PATCH i-g-t] i915/gem_shrink: Refactor allocation sizing based on available memory
@ 2020-12-14 20:59 ` Chris Wilson
0 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2020-12-14 20:59 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev, Chris Wilson
Refactor the allocation such that we utilise just enough memory pressure
to invoke the shrinker, and just enough processes to spread across the
CPUs and contend on the shrinker.
v2: Reduce over-allocation from mem_size/2 to mem_size/8, and 9
processes per cpu.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
tests/i915/gem_shrink.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_shrink.c b/tests/i915/gem_shrink.c
index 023db8c56..6413d25f5 100644
--- a/tests/i915/gem_shrink.c
+++ b/tests/i915/gem_shrink.c
@@ -426,6 +426,7 @@ igt_main
int num_processes = 0;
igt_fixture {
+ const int ncpus = sysconf(_SC_NPROCESSORS_ONLN);
uint64_t mem_size = intel_get_total_ram_mb();
int fd;
@@ -434,16 +435,16 @@ igt_main
/*
* Spawn enough processes to use all memory, but each only
- * uses half the available mappable aperture ~128MiB.
+ * uses half of the available per-cpu memory.
* Individually the processes would be ok, but en masse
* we expect the shrinker to start purging objects,
* and possibly fail.
*/
- alloc_size = gem_mappable_aperture_size(fd) / 2;
- num_processes = 1 + (mem_size / (alloc_size >> 20));
+ alloc_size = (mem_size + ncpus - 1) / ncpus / 8;
+ num_processes = ncpus + (mem_size / alloc_size);
- igt_info("Using %d processes and %'lluMiB per process\n",
- num_processes, (long long)(alloc_size >> 20));
+ igt_info("Using %d processes and %'"PRIu64"MiB per process\n",
+ num_processes, alloc_size);
intel_require_memory(num_processes, alloc_size,
CHECK_SWAP | CHECK_RAM);
--
2.29.2
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] i915/gem_shrink: Refactor allocation sizing based on available memory
@ 2020-12-14 20:59 ` Chris Wilson
0 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2020-12-14 20:59 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev, Tvrtko Ursulin, Chris Wilson
Refactor the allocation such that we utilise just enough memory pressure
to invoke the shrinker, and just enough processes to spread across the
CPUs and contend on the shrinker.
v2: Reduce over-allocation from mem_size/2 to mem_size/8, and 9
processes per cpu.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
tests/i915/gem_shrink.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_shrink.c b/tests/i915/gem_shrink.c
index 023db8c56..6413d25f5 100644
--- a/tests/i915/gem_shrink.c
+++ b/tests/i915/gem_shrink.c
@@ -426,6 +426,7 @@ igt_main
int num_processes = 0;
igt_fixture {
+ const int ncpus = sysconf(_SC_NPROCESSORS_ONLN);
uint64_t mem_size = intel_get_total_ram_mb();
int fd;
@@ -434,16 +435,16 @@ igt_main
/*
* Spawn enough processes to use all memory, but each only
- * uses half the available mappable aperture ~128MiB.
+ * uses half of the available per-cpu memory.
* Individually the processes would be ok, but en masse
* we expect the shrinker to start purging objects,
* and possibly fail.
*/
- alloc_size = gem_mappable_aperture_size(fd) / 2;
- num_processes = 1 + (mem_size / (alloc_size >> 20));
+ alloc_size = (mem_size + ncpus - 1) / ncpus / 8;
+ num_processes = ncpus + (mem_size / alloc_size);
- igt_info("Using %d processes and %'lluMiB per process\n",
- num_processes, (long long)(alloc_size >> 20));
+ igt_info("Using %d processes and %'"PRIu64"MiB per process\n",
+ num_processes, alloc_size);
intel_require_memory(num_processes, alloc_size,
CHECK_SWAP | CHECK_RAM);
--
2.29.2
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for i915/gem_shrink: Refactor allocation sizing based on available memory
2020-12-14 20:59 ` [igt-dev] " Chris Wilson
(?)
@ 2020-12-14 22:50 ` Patchwork
-1 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2020-12-14 22:50 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 4532 bytes --]
== Series Details ==
Series: i915/gem_shrink: Refactor allocation sizing based on available memory
URL : https://patchwork.freedesktop.org/series/84919/
State : success
== Summary ==
CI Bug Log - changes from IGT_5896 -> IGTPW_5289
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with IGTPW_5289 need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_5289, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_5289:
### IGT changes ###
#### Warnings ####
* igt@gem_linear_blits@basic:
- fi-tgl-y: [DMESG-WARN][1] ([i915#402]) -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-tgl-y/igt@gem_linear_blits@basic.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-tgl-y/igt@gem_linear_blits@basic.html
Known issues
------------
Here are the changes found in IGTPW_5289 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_flink_basic@basic:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-tgl-y/igt@gem_flink_basic@basic.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-tgl-y/igt@gem_flink_basic@basic.html
* igt@i915_selftest@live@gt_heartbeat:
- fi-tgl-y: [PASS][5] -> [DMESG-FAIL][6] ([i915#2601])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-tgl-y/igt@i915_selftest@live@gt_heartbeat.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-tgl-y/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- fi-snb-2600: NOTRUN -> [SKIP][7] ([fdo#109271]) +30 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-snb-2600/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html
* igt@kms_chamelium@hdmi-crc-fast:
- fi-snb-2600: NOTRUN -> [SKIP][8] ([fdo#109271] / [fdo#111827]) +8 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-snb-2600/igt@kms_chamelium@hdmi-crc-fast.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-snb-2600: [DMESG-WARN][9] ([i915#2772]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-snb-2600/igt@gem_exec_suspend@basic-s0.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-snb-2600/igt@gem_exec_suspend@basic-s0.html
* igt@prime_vgem@basic-read:
- fi-tgl-y: [DMESG-WARN][11] ([i915#402]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-tgl-y/igt@prime_vgem@basic-read.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-tgl-y/igt@prime_vgem@basic-read.html
#### Warnings ####
* igt@amdgpu/amd_prime@i915-to-amd:
- fi-gdg-551: [SKIP][13] ([fdo#109271]) -> [INCOMPLETE][14] ([i915#172])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/fi-gdg-551/igt@amdgpu/amd_prime@i915-to-amd.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/fi-gdg-551/igt@amdgpu/amd_prime@i915-to-amd.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#172]: https://gitlab.freedesktop.org/drm/intel/issues/172
[i915#2601]: https://gitlab.freedesktop.org/drm/intel/issues/2601
[i915#2772]: https://gitlab.freedesktop.org/drm/intel/issues/2772
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
Participating hosts (43 -> 38)
------------------------------
Missing (5): fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-dg1-1 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5896 -> IGTPW_5289
CI-20190529: 20190529
CI_DRM_9482: 279e4ca8a7117e617c498833deaa287b797e7d09 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5289: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
IGT_5896: f8189464485ccbd07776e8c1a3aa1582e365cfe0 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
[-- Attachment #1.2: Type: text/html, Size: 5590 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for i915/gem_shrink: Refactor allocation sizing based on available memory
2020-12-14 20:59 ` [igt-dev] " Chris Wilson
(?)
(?)
@ 2020-12-15 1:23 ` Patchwork
-1 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2020-12-15 1:23 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 22811 bytes --]
== Series Details ==
Series: i915/gem_shrink: Refactor allocation sizing based on available memory
URL : https://patchwork.freedesktop.org/series/84919/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5896_full -> IGTPW_5289_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_5289_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_5289_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_5289_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- shard-iclb: [PASS][1] -> [DMESG-WARN][2] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb3/igt@kms_flip@flip-vs-suspend-interruptible@b-edp1.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb6/igt@kms_flip@flip-vs-suspend-interruptible@b-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl2/igt@kms_flip@flip-vs-suspend-interruptible@c-dp1.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl2/igt@kms_flip@flip-vs-suspend-interruptible@c-dp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1:
- shard-glk: [PASS][5] -> [DMESG-WARN][6] +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk4/igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk6/igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a1.html
#### Warnings ####
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][7] ([i915#180]) -> [INCOMPLETE][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl2/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* {igt@gem_exec_balancer@fairslice}:
- shard-iclb: [PASS][9] -> [FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb1/igt@gem_exec_balancer@fairslice.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb2/igt@gem_exec_balancer@fairslice.html
Known issues
------------
Here are the changes found in IGTPW_5289_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_reloc@basic-many-active@vcs1:
- shard-iclb: NOTRUN -> [FAIL][11] ([i915#2389])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb2/igt@gem_exec_reloc@basic-many-active@vcs1.html
* igt@gem_huc_copy@huc-copy:
- shard-kbl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#2190])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl3/igt@gem_huc_copy@huc-copy.html
* igt@gem_render_copy@linear-to-vebox-y-tiled:
- shard-glk: NOTRUN -> [SKIP][13] ([fdo#109271]) +6 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk9/igt@gem_render_copy@linear-to-vebox-y-tiled.html
* igt@gem_render_copy@y-tiled-to-vebox-y-tiled:
- shard-kbl: NOTRUN -> [SKIP][14] ([fdo#109271]) +25 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl2/igt@gem_render_copy@y-tiled-to-vebox-y-tiled.html
* igt@kms_chamelium@vga-hpd:
- shard-kbl: NOTRUN -> [SKIP][15] ([fdo#109271] / [fdo#111827]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl3/igt@kms_chamelium@vga-hpd.html
* igt@kms_cursor_crc@pipe-a-cursor-256x256-onscreen:
- shard-apl: [PASS][16] -> [FAIL][17] ([i915#54])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl6/igt@kms_cursor_crc@pipe-a-cursor-256x256-onscreen.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl8/igt@kms_cursor_crc@pipe-a-cursor-256x256-onscreen.html
- shard-kbl: [PASS][18] -> [FAIL][19] ([i915#54])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-256x256-onscreen.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl4/igt@kms_cursor_crc@pipe-a-cursor-256x256-onscreen.html
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [PASS][20] -> [FAIL][21] ([i915#96])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-hsw4/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw1/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html
* igt@kms_draw_crc@draw-method-xrgb2101010-render-ytiled:
- shard-hsw: NOTRUN -> [SKIP][22] ([fdo#109271]) +20 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw1/igt@kms_draw_crc@draw-method-xrgb2101010-render-ytiled.html
* igt@kms_flip@flip-vs-expired-vblank@c-dp1:
- shard-apl: [PASS][23] -> [FAIL][24] ([i915#79])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl1/igt@kms_flip@flip-vs-expired-vblank@c-dp1.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl6/igt@kms_flip@flip-vs-expired-vblank@c-dp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-apl: [PASS][25] -> [DMESG-WARN][26] ([i915#2635])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl2/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl2/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-tglb: [PASS][27] -> [DMESG-WARN][28] ([i915#1436] / [i915#1602] / [i915#1887] / [i915#2411])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb7/igt@kms_flip@flip-vs-suspend-interruptible@a-edp1.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb8/igt@kms_flip@flip-vs-suspend-interruptible@a-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a1:
- shard-hsw: [PASS][29] -> [DMESG-WARN][30] ([i915#2637]) +3 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-hsw6/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a1.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw2/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a1.html
- shard-glk: [PASS][31] -> [DMESG-WARN][32] ([i915#2635])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk4/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a1.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk6/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a1.html
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- shard-tglb: [PASS][33] -> [INCOMPLETE][34] ([i915#1436] / [i915#1798] / [i915#1982] / [i915#2248])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb7/igt@kms_flip@flip-vs-suspend-interruptible@b-edp1.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb8/igt@kms_flip@flip-vs-suspend-interruptible@b-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@b-vga1:
- shard-snb: [PASS][35] -> [DMESG-WARN][36] ([i915#42])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-snb4/igt@kms_flip@flip-vs-suspend-interruptible@b-vga1.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-snb2/igt@kms_flip@flip-vs-suspend-interruptible@b-vga1.html
* igt@kms_flip@flip-vs-suspend-interruptible@c-vga1:
- shard-hsw: NOTRUN -> [DMESG-WARN][37] ([i915#2637]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw2/igt@kms_flip@flip-vs-suspend-interruptible@c-vga1.html
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][38] -> [DMESG-WARN][39] ([i915#180])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-kbl2/igt@kms_flip@flip-vs-suspend@c-dp1.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl6/igt@kms_flip@flip-vs-suspend@c-dp1.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#111825]) +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb1/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-gtt.html
- shard-iclb: NOTRUN -> [SKIP][41] ([fdo#109280]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb3/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-pwrite:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271]) +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-pwrite.html
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][43] ([fdo#108145] / [i915#265])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl4/igt@kms_plane_alpha_blend@pipe-a-alpha-7efc.html
* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][44] -> [SKIP][45] ([fdo#109642] / [fdo#111068])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb2/igt@kms_psr2_su@page_flip.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb7/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][46] -> [SKIP][47] ([fdo#109441]) +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb3/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@prime_vgem@sync@bcs0:
- shard-tglb: [PASS][48] -> [INCOMPLETE][49] ([i915#409])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb5/igt@prime_vgem@sync@bcs0.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb2/igt@prime_vgem@sync@bcs0.html
#### Possible fixes ####
* {igt@gem_exec_balancer@fairslice}:
- shard-tglb: [FAIL][50] -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb2/igt@gem_exec_balancer@fairslice.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb5/igt@gem_exec_balancer@fairslice.html
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [DMESG-WARN][52] ([i915#118] / [i915#95]) -> [PASS][53] +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk2/igt@gem_exec_whisper@basic-queues-forked-all.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk5/igt@gem_exec_whisper@basic-queues-forked-all.html
* {igt@gem_vm_create@destroy-race}:
- shard-tglb: [TIMEOUT][54] ([i915#2795]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb6/igt@gem_vm_create@destroy-race.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb5/igt@gem_vm_create@destroy-race.html
* igt@i915_pm_rpm@i2c:
- shard-tglb: [SKIP][56] ([i915#579]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb6/igt@i915_pm_rpm@i2c.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb7/igt@i915_pm_rpm@i2c.html
- shard-glk: [SKIP][58] ([fdo#109271]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk9/igt@i915_pm_rpm@i2c.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk9/igt@i915_pm_rpm@i2c.html
- shard-hsw: [SKIP][60] ([fdo#109271]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-hsw2/igt@i915_pm_rpm@i2c.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw1/igt@i915_pm_rpm@i2c.html
- shard-kbl: [SKIP][62] ([fdo#109271]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-kbl3/igt@i915_pm_rpm@i2c.html
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl2/igt@i915_pm_rpm@i2c.html
- shard-iclb: [SKIP][64] ([i915#579]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb1/igt@i915_pm_rpm@i2c.html
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb3/igt@i915_pm_rpm@i2c.html
- shard-apl: [SKIP][66] ([fdo#109271]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl8/igt@i915_pm_rpm@i2c.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl4/igt@i915_pm_rpm@i2c.html
* igt@i915_suspend@forcewake:
- shard-iclb: [DMESG-WARN][68] -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb1/igt@i915_suspend@forcewake.html
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb5/igt@i915_suspend@forcewake.html
- shard-kbl: [INCOMPLETE][70] ([i915#155] / [i915#636]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-kbl3/igt@i915_suspend@forcewake.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-kbl2/igt@i915_suspend@forcewake.html
- shard-hsw: [DMESG-WARN][72] ([i915#2637]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-hsw2/igt@i915_suspend@forcewake.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw1/igt@i915_suspend@forcewake.html
- shard-glk: [DMESG-WARN][74] ([i915#2635]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk9/igt@i915_suspend@forcewake.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk7/igt@i915_suspend@forcewake.html
- shard-apl: [DMESG-WARN][76] ([i915#2635]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-apl8/igt@i915_suspend@forcewake.html
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-apl6/igt@i915_suspend@forcewake.html
- shard-tglb: [DMESG-WARN][78] ([i915#1436] / [i915#1602] / [i915#1887] / [i915#2411]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb6/igt@i915_suspend@forcewake.html
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb7/igt@i915_suspend@forcewake.html
* igt@kms_async_flips@test-time-stamp:
- shard-tglb: [FAIL][80] ([i915#2597]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb7/igt@kms_async_flips@test-time-stamp.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb6/igt@kms_async_flips@test-time-stamp.html
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [FAIL][82] ([i915#96]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-hsw1/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-hsw1/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-tglb: [FAIL][84] ([i915#2598]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb7/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb3/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1.html
* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-iclb: [SKIP][86] ([fdo#109441]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb3/igt@kms_psr@psr2_cursor_mmap_gtt.html
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][88] ([i915#1804] / [i915#2684]) -> [FAIL][89] ([i915#2680])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb3/igt@i915_pm_rc6_residency@rc6-idle.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb6/igt@i915_pm_rc6_residency@rc6-idle.html
* igt@i915_pm_rpm@pc8-residency:
- shard-iclb: [SKIP][90] ([i915#579]) -> [SKIP][91] ([fdo#109293] / [fdo#109506])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-iclb1/igt@i915_pm_rpm@pc8-residency.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-iclb6/igt@i915_pm_rpm@pc8-residency.html
- shard-tglb: [SKIP][92] ([i915#579]) -> [SKIP][93] ([fdo#109506] / [i915#2411])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb6/igt@i915_pm_rpm@pc8-residency.html
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb8/igt@i915_pm_rpm@pc8-residency.html
* igt@runner@aborted:
- shard-glk: ([FAIL][94], [FAIL][95], [FAIL][96]) ([i915#2295] / [i915#2722] / [i915#483] / [k.org#202321]) -> ([FAIL][97], [FAIL][98]) ([i915#2295] / [i915#2722] / [k.org#202321])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk7/igt@runner@aborted.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk6/igt@runner@aborted.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-glk9/igt@runner@aborted.html
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk6/igt@runner@aborted.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-glk6/igt@runner@aborted.html
- shard-tglb: ([FAIL][99], [FAIL][100]) ([i915#1602] / [i915#2295] / [i915#2722]) -> ([FAIL][101], [FAIL][102], [FAIL][103]) ([i915#2248] / [i915#2295] / [i915#2426] / [i915#2722] / [i915#409])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb6/igt@runner@aborted.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5896/shard-tglb8/igt@runner@aborted.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb2/igt@runner@aborted.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb8/igt@runner@aborted.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/shard-tglb1/igt@runner@aborted.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109293]: https://bugs.freedesktop.org/show_bug.cgi?id=109293
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1798]: https://gitlab.freedesktop.org/drm/intel/issues/1798
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#1887]: https://gitlab.freedesktop.org/drm/intel/issues/1887
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2248]: https://gitlab.freedesktop.org/drm/intel/issues/2248
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2597]: https://gitlab.freedesktop.org/drm/intel/issues/2597
[i915#2598]: https://gitlab.freedesktop.org/drm/intel/issues/2598
[i915#2635]: https://gitlab.freedesktop.org/drm/intel/issues/2635
[i915#2637]: https://gitlab.freedesktop.org/drm/intel/issues/2637
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2680]: https://gitlab.freedesktop.org/drm/intel/issues/2680
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#2795]: https://gitlab.freedesktop.org/drm/intel/issues/2795
[i915#409]: https://gitlab.freedesktop.org/drm/intel/issues/409
[i915#42]: https://gitlab.freedesktop.org/drm/intel/issues/42
[i915#483]: https://gitlab.freedesktop.org/drm/intel/issues/483
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#636]: https://gitlab.freedesktop.org/drm/intel/issues/636
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96
[k.org#202321]: https://bugzilla.kernel.org/show_bug.cgi?id=202321
Participating hosts (8 -> 8)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5896 -> IGTPW_5289
CI-20190529: 20190529
CI_DRM_9482: 279e4ca8a7117e617c498833deaa287b797e7d09 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5289: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
IGT_5896: f8189464485ccbd07776e8c1a3aa1582e365cfe0 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5289/index.html
[-- Attachment #1.2: Type: text/html, Size: 27469 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] i915/gem_shrink: Refactor allocation sizing based on available memory
2020-12-14 20:59 ` [igt-dev] " Chris Wilson
@ 2020-12-15 9:47 ` Tvrtko Ursulin
-1 siblings, 0 replies; 6+ messages in thread
From: Tvrtko Ursulin @ 2020-12-15 9:47 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
On 14/12/2020 20:59, Chris Wilson wrote:
> Refactor the allocation such that we utilise just enough memory pressure
> to invoke the shrinker, and just enough processes to spread across the
> CPUs and contend on the shrinker.
>
> v2: Reduce over-allocation from mem_size/2 to mem_size/8, and 9
> processes per cpu.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> ---
> tests/i915/gem_shrink.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/tests/i915/gem_shrink.c b/tests/i915/gem_shrink.c
> index 023db8c56..6413d25f5 100644
> --- a/tests/i915/gem_shrink.c
> +++ b/tests/i915/gem_shrink.c
> @@ -426,6 +426,7 @@ igt_main
> int num_processes = 0;
>
> igt_fixture {
> + const int ncpus = sysconf(_SC_NPROCESSORS_ONLN);
> uint64_t mem_size = intel_get_total_ram_mb();
> int fd;
>
> @@ -434,16 +435,16 @@ igt_main
>
> /*
> * Spawn enough processes to use all memory, but each only
> - * uses half the available mappable aperture ~128MiB.
> + * uses half of the available per-cpu memory.
> * Individually the processes would be ok, but en masse
> * we expect the shrinker to start purging objects,
> * and possibly fail.
> */
> - alloc_size = gem_mappable_aperture_size(fd) / 2;
> - num_processes = 1 + (mem_size / (alloc_size >> 20));
> + alloc_size = (mem_size + ncpus - 1) / ncpus / 8;
> + num_processes = ncpus + (mem_size / alloc_size);
>
> - igt_info("Using %d processes and %'lluMiB per process\n",
> - num_processes, (long long)(alloc_size >> 20));
> + igt_info("Using %d processes and %'"PRIu64"MiB per process\n",
> + num_processes, alloc_size);
>
> intel_require_memory(num_processes, alloc_size,
> CHECK_SWAP | CHECK_RAM);
>
For some reason I still find the calculation convoluted but okay.
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] i915/gem_shrink: Refactor allocation sizing based on available memory
@ 2020-12-15 9:47 ` Tvrtko Ursulin
0 siblings, 0 replies; 6+ messages in thread
From: Tvrtko Ursulin @ 2020-12-15 9:47 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev, Tvrtko Ursulin
On 14/12/2020 20:59, Chris Wilson wrote:
> Refactor the allocation such that we utilise just enough memory pressure
> to invoke the shrinker, and just enough processes to spread across the
> CPUs and contend on the shrinker.
>
> v2: Reduce over-allocation from mem_size/2 to mem_size/8, and 9
> processes per cpu.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> ---
> tests/i915/gem_shrink.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/tests/i915/gem_shrink.c b/tests/i915/gem_shrink.c
> index 023db8c56..6413d25f5 100644
> --- a/tests/i915/gem_shrink.c
> +++ b/tests/i915/gem_shrink.c
> @@ -426,6 +426,7 @@ igt_main
> int num_processes = 0;
>
> igt_fixture {
> + const int ncpus = sysconf(_SC_NPROCESSORS_ONLN);
> uint64_t mem_size = intel_get_total_ram_mb();
> int fd;
>
> @@ -434,16 +435,16 @@ igt_main
>
> /*
> * Spawn enough processes to use all memory, but each only
> - * uses half the available mappable aperture ~128MiB.
> + * uses half of the available per-cpu memory.
> * Individually the processes would be ok, but en masse
> * we expect the shrinker to start purging objects,
> * and possibly fail.
> */
> - alloc_size = gem_mappable_aperture_size(fd) / 2;
> - num_processes = 1 + (mem_size / (alloc_size >> 20));
> + alloc_size = (mem_size + ncpus - 1) / ncpus / 8;
> + num_processes = ncpus + (mem_size / alloc_size);
>
> - igt_info("Using %d processes and %'lluMiB per process\n",
> - num_processes, (long long)(alloc_size >> 20));
> + igt_info("Using %d processes and %'"PRIu64"MiB per process\n",
> + num_processes, alloc_size);
>
> intel_require_memory(num_processes, alloc_size,
> CHECK_SWAP | CHECK_RAM);
>
For some reason I still find the calculation convoluted but okay.
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Regards,
Tvrtko
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-12-15 9:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 20:59 [Intel-gfx] [PATCH i-g-t] i915/gem_shrink: Refactor allocation sizing based on available memory Chris Wilson
2020-12-14 20:59 ` [igt-dev] " Chris Wilson
2020-12-14 22:50 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-12-15 1:23 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-12-15 9:47 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Tvrtko Ursulin
2020-12-15 9:47 ` Tvrtko Ursulin
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.