Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add case for memory access mode #5114

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

nanli1
Copy link
Contributor

@nanli1 nanli1 commented Aug 18, 2023

Memory access mode

Signed-off-by: nanli [email protected]


[root@dell-per320-02 tp-libvirt]#  avocado run --vt-type libvirt --test-runner=runner --vt-machine-type q35 memory.backing.access_mode
 (01/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_private.file: PASS (82.70 s)
 (02/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_private.anonymous: PASS (83.02 s)
 (03/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_private.memfd: PASS (81.78 s)
 (04/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_private.no_source: PASS (82.77 s)
 (05/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_shared.file: PASS (82.37 s)
 (06/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_shared.anonymous: PASS (83.99 s)
 (07/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_shared.memfd: PASS (84.99 s)
 (08/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_shared.no_source: PASS (77.48 s)
 (09/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_default.file: PASS (86.36 s)
 (10/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_default.anonymous: PASS (84.97 s)
 (11/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_default.memfd: PASS (82.05 s)
 (12/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_private.mem_access_default.no_source: PASS (82.38 s)
 (13/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_private.file: PASS (102.39 s)
 (14/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_private.anonymous: PASS (102.33 s)
 (15/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_private.memfd: PASS (81.49 s)
 (16/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_private.no_source: PASS (102.79 s)
 (17/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_shared.file: PASS (101.28 s)
 (18/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_shared.anonymous: PASS (101.18 s)
 (19/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_shared.memfd: PASS (83.01 s)
 (20/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_shared.no_source: PASS (103.90 s)
 (21/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_default.file: PASS (99.26 s)
 (22/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_default.anonymous: PASS (101.09 s)
 (23/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_default.memfd: PASS (81.69 s)
 (24/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_shared.mem_access_default.no_source: PASS (106.57 s)
 (25/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_private.file: PASS (81.00 s)
 (26/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_private.anonymous: PASS (72.91 s)
 (27/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_private.memfd: PASS (93.73 s)
 (28/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_private.no_source: PASS (83.21 s)
 (29/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_shared.file: PASS (100.56 s)
 (30/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_shared.anonymous: PASS (101.44 s)
 (31/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_shared.memfd: PASS (82.31 s)
 (32/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_shared.no_source: PASS (99.37 s)
 (33/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_default.file: PASS (82.53 s)
 (34/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_default.anonymous: PASS (78.88 s)
 (35/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_default.memfd: PASS (83.10 s)
 (36/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.numa_access_default.mem_access_default.no_source: PASS (79.36 s)
 (37/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_private.file: PASS (85.03 s)
 (38/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_private.anonymous: PASS (81.97 s)
 (39/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_private.memfd: PASS (84.20 s)
 (40/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_private.no_source: PASS (83.64 s)
 (41/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_shared.file: PASS (101.18 s)
 (42/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_shared.anonymous: PASS (99.80 s)
 (43/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_shared.memfd: PASS (81.82 s)
 (44/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_shared.no_source: PASS (104.30 s)
 (45/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_default.file: PASS (82.17 s)
 (46/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_default.anonymous: PASS (79.04 s)
 (47/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_default.memfd: PASS (82.46 s)
 (48/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.without_hugepage.no_numa.mem_access_default.no_source: PASS (77.53 s)
 (49/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_private.file: PASS (80.46 s)
 (50/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_private.memfd: PASS (80.15 s)
 (51/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_private.no_source: PASS (79.24 s)
 (52/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_shared.file: PASS (80.96 s)
 (53/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_shared.memfd: PASS (79.59 s)
 (54/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_shared.no_source: PASS (78.16 s)
 (55/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_default.file: PASS (78.09 s)
 (56/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_default.memfd: PASS (81.37 s)
 (57/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_private.mem_access_default.no_source: PASS (79.52 s)
 (58/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_private.file: PASS (78.89 s)
 (59/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_private.memfd: PASS (76.72 s)
 (60/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_private.no_source: PASS (82.59 s)
 (61/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_shared.file: PASS (79.61 s)
 (62/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_shared.memfd: PASS (78.70 s)
 (63/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_shared.no_source: PASS (80.05 s)
 (64/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_default.file: PASS (79.64 s)
 (65/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_default.memfd: PASS (79.64 s)
 (66/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_shared.mem_access_default.no_source: PASS (77.34 s)
 (67/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_private.file: PASS (81.59 s)
 (68/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_private.memfd: PASS (79.39 s)
 (69/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_private.no_source: PASS (79.21 s)
 (70/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_shared.file: PASS (79.54 s)
 (71/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_shared.memfd: PASS (78.82 s)
 (72/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_shared.no_source: PASS (80.67 s)
 (73/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_default.file: PASS (78.75 s)
 (74/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_default.memfd: PASS (79.32 s)
 (75/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.numa_access_default.mem_access_default.no_source: PASS (81.05 s)
 (76/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_private.file: PASS (78.55 s)
 (77/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_private.memfd: PASS (78.63 s)
 (78/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_private.no_source: PASS (80.91 s)
 (79/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_shared.file: PASS (87.82 s)
 (80/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_shared.memfd: PASS (79.40 s)
 (81/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_shared.no_source: PASS (79.93 s)
 (82/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_default.file: PASS (77.53 s)
 (83/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_default.memfd: PASS (82.01 s)
 (84/84) type_specific.io-github-autotest-libvirt.memory.backing.access_mode.memory_allocation.with_hugepage.no_numa.mem_access_default.no_source: PASS (80.94 s)
RESULTS    : PASS 84 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME   : 7126.28 s

@nanli1 nanli1 force-pushed the add_case_for_memory_access_mode branch from e8912eb to 4da44cb Compare August 18, 2023 07:10
@nanli1
Copy link
Contributor Author

nanli1 commented Aug 18, 2023

modular redesign

against memory backing setting
"""

def get_vm_attrs():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can all below functions move outside run, and put ahead to def run() method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks chunfu, Updated

    Memory access mode
Signed-off-by: nanli <[email protected]>
@nanli1 nanli1 force-pushed the add_case_for_memory_access_mode branch from 4da44cb to be39e63 Compare September 12, 2023 03:26
Copy link
Contributor

@chunfuwen chunfuwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@cliping cliping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chunfuwen chunfuwen merged commit 6abcd71 into autotest:master Oct 25, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants