Changbin Du
b6c126a393
drm/i915/gvt: Manage shadow pages with radix tree
...
We don't know how many page tables will be shadowed. It varies
considerably corresponding to guest load. Radix tree is a better
choice for us. Since Page Frame Number is used as key so most of
the bits are common.
Here is some performance data (duration in us) of looking up a
element:
Before: (aka. ppgtt_find_shadow_page)
0.308 0.292 0.246 0.432 0.143 ... 0.311 0.225 0.382 0.199 0.325
After: (aka. intel_vgpu_find_spt_by_mfn)
0.106 0.106 0.107 0.106 0.105 0.107 ... 0.107 0.109 0.105 0.108
This time I didn't get the early data of hash table. The data is
measured when desktop is shown.
As last change, the overall benchmark almost is not changed, but
we get better scalability.
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-03-06 13:19:21 +08:00
..
2018-03-06 13:19:21 +08:00
2018-02-23 16:34:32 +00:00
2017-06-01 15:53:03 +03:00
2017-05-10 13:47:55 +03:00
2018-02-14 12:04:31 +00:00
2018-02-06 11:41:40 -08:00
2018-03-02 11:56:47 +00:00
2018-03-02 23:11:12 +00:00
2018-03-05 11:56:15 +02:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2017-07-27 22:07:24 +02:00
2018-02-21 20:57:22 +00:00
2018-02-23 16:34:32 +00:00
2018-02-16 14:12:48 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-09 22:29:02 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2017-08-15 15:46:57 +01:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2017-12-07 23:26:55 +00:00
2017-12-14 20:10:01 +02:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2018-03-02 23:11:12 +00:00
2018-03-01 14:13:47 +02:00
2017-11-30 10:11:49 +02:00
2017-10-07 10:11:41 +01:00
2018-02-21 20:57:22 +00:00
2018-02-15 16:22:21 +00:00
2018-03-01 14:13:54 +02:00
2017-12-22 11:12:15 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-09-18 19:46:36 +01:00
2018-02-08 11:16:48 +00:00
2017-11-13 15:59:03 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2018-02-08 11:16:49 +00:00
2017-11-13 15:59:24 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2018-02-02 14:19:05 +00:00
2018-01-19 20:35:32 +00:00
2018-02-22 11:33:20 +02:00
2018-03-01 14:32:37 +00:00
2018-02-07 17:07:45 +00:00
2018-02-07 13:37:34 +00:00
2017-10-16 13:56:29 +03:00
2018-03-01 14:13:47 +02:00
2018-02-23 16:34:32 +00:00
2018-02-21 20:57:22 +00:00
2017-11-10 11:31:58 +00:00
2017-09-29 12:30:17 +01:00
2018-01-15 10:29:18 +00:00
2017-07-09 18:48:37 -07:00
2018-02-08 15:08:51 +00:00
2017-05-03 11:08:48 +01:00
2018-02-01 17:48:47 -08:00
2017-11-02 11:10:55 +01:00
2018-02-21 20:57:22 +00:00
2017-12-22 09:13:47 +00:00
2017-08-15 10:12:48 +08:00
2017-10-16 13:56:29 +03:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2017-11-02 11:10:55 +01:00
2018-03-01 14:07:22 +10:00
2018-03-01 14:07:22 +10:00
2018-02-15 16:29:13 +02:00
2018-02-14 11:38:12 +01:00
2018-02-21 20:57:22 +00:00
2018-02-13 10:16:04 -02:00
2018-02-28 15:17:12 +02:00
2018-03-01 14:07:22 +10:00
2018-01-04 16:29:12 -08:00
2018-03-01 14:07:22 +10:00
2018-03-01 14:13:47 +02:00
2018-03-01 14:13:47 +02:00
2018-03-01 20:54:35 -05:00
2018-02-27 12:05:43 -08:00
2017-09-22 14:50:36 +03:00
2018-02-01 07:32:54 -08:00
2017-11-09 20:06:14 +02:00
2018-03-02 18:26:52 +02:00
2018-02-19 12:19:04 +02:00
2017-11-16 09:45:39 -08:00
2017-06-12 09:42:18 -07:00
2018-03-01 11:14:24 +02:00
2017-08-16 18:02:00 +03:00
2017-08-21 11:52:29 +03:00
2018-01-29 21:55:07 +02:00
2018-03-01 14:07:22 +10:00
2018-02-28 14:16:42 +00:00
2018-03-02 17:33:19 +02:00
2018-02-22 17:41:37 +02:00
2017-09-25 16:54:09 +03:00
2018-02-27 12:06:07 -08:00
2018-01-03 14:02:10 +00:00
2018-01-03 14:02:10 +00:00
2017-11-06 13:57:37 +00:00
2017-05-26 13:26:53 +01:00
2018-03-02 09:04:45 +00:00
2017-12-06 14:41:47 +00:00
2017-11-02 08:42:11 +00:00
2018-02-01 12:36:50 +00:00
2018-01-24 19:44:06 +00:00
2017-11-24 20:47:39 +00:00
2018-02-27 10:30:12 +00:00
2017-12-14 08:06:54 +00:00
2018-03-02 23:11:12 +00:00
2018-03-02 23:11:12 +00:00
2017-12-06 14:41:49 +00:00
2017-05-30 15:59:47 +03:00
2018-02-05 10:59:59 +00:00
2018-02-05 12:59:23 -05:00
2018-02-16 09:36:04 +10:00
2018-01-30 10:24:20 -08:00
2018-03-02 09:04:45 +00:00
2018-03-02 09:04:45 +00:00
2018-03-02 23:11:13 +00:00
2018-03-02 09:04:45 +00:00
2018-02-16 09:36:04 +10:00
2018-02-08 17:28:53 +00:00
2018-01-24 09:22:55 +00:00
2018-03-02 23:11:12 +00:00
2018-01-24 09:40:15 +00:00
2018-01-30 10:24:19 -08:00
2018-02-14 12:04:33 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-01-19 11:58:48 +02:00
2017-12-22 09:19:48 +00:00
2017-12-22 09:19:48 +00:00
2018-02-21 20:57:22 +00:00
2018-02-14 12:02:44 +00:00
2017-11-30 16:49:42 +01:00
2018-03-01 14:13:54 +02:00
2018-02-27 15:54:17 -08:00
2017-08-14 12:15:49 +03:00
2018-02-21 20:57:22 +00:00
2018-03-01 14:13:47 +02:00
2018-02-27 12:05:43 -08:00
2018-03-01 14:07:22 +10:00
2017-10-11 08:56:56 +01:00
2018-03-01 14:07:22 +10:00
2018-02-14 12:02:39 +00:00
2018-02-14 13:28:41 +00:00
2017-12-06 14:41:47 +00:00
2018-03-02 23:11:12 +00:00
2018-03-02 23:11:12 +00:00
2018-03-01 14:07:22 +10:00
2018-03-01 14:07:22 +10:00
2018-02-07 12:32:14 -08:00
2017-09-19 13:06:21 +01:00
2017-12-19 23:04:45 +00:00
2018-03-02 09:04:45 +00:00