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

Performance of virtionfs #19

Open
4 tasks done
Peter-JanGootzen opened this issue Dec 10, 2022 · 4 comments
Open
4 tasks done

Performance of virtionfs #19

Peter-JanGootzen opened this issue Dec 10, 2022 · 4 comments
Assignees

Comments

@Peter-JanGootzen
Copy link
Contributor

Peter-JanGootzen commented Dec 10, 2022

Currently with XLIO sequential write performance with bs=4k, iodepth=16, numjobs=1 is ~244MB/s, while sequential read only gives ~20MB/s.

  • Investigate why this is happening (there are already some flamegraphs ran on commit 7fc9e18)
  • Implement a fix

Furthermore blocksizes larger than the page size (4k) don't do anything (i.e. no performance increase).

  • Investage why
  • Impl fix
@Peter-JanGootzen Peter-JanGootzen added this to the Paper experiments milestone Dec 10, 2022
@Peter-JanGootzen Peter-JanGootzen changed the title Poor read performance with virtionfs Poor performance with virtionfs Dec 18, 2022
@Peter-JanGootzen
Copy link
Contributor Author

Peter-JanGootzen commented Dec 18, 2022

Latency has now also regressed somehow.
statfs 50000 runs numactl pinned to right NUMA node and interrupt core
XLIO + libnfs -O2 used to be: 82usec
NFS: 48usec
Host<>DPU: 34usec

Now:
Without XLIO: 160usec
With XLIO + libnfs -O2: 137usec
So we lost 55usec somewhere!
Further testing:
With XLIO + libnfs -O3: 126usec
With XLIO + libnfs -O3 + 2 Virtio queues: 112usec
With XLIO + libnfs -O3 + 2 Virtio queues + DPU pinning to core 6,7: 100usec

--enable-latency-measuring
Reports that with the last configuration:
NFS: 68usec
Host<>DPU: 32usec

TODO:

  • DPU core pinning = good gains
  • Removing -g3 (shouldn't matter) = no change
  • NFS remote side things (the latency measuring results indicate that NFS is the culprit)

@Peter-JanGootzen
Copy link
Contributor Author

It would be interesting to test whether doing the NFS polling on the Virtio queue polling thread would improve performance. This requires a non-existent libnfs patch.

@Peter-JanGootzen Peter-JanGootzen pinned this issue Dec 18, 2022
@Peter-JanGootzen Peter-JanGootzen changed the title Poor performance with virtionfs Performance of virtionfs Dec 18, 2022
@Peter-JanGootzen Peter-JanGootzen self-assigned this Dec 18, 2022
@Peter-JanGootzen
Copy link
Contributor Author

Peter-JanGootzen commented Jan 11, 2023

  • Try running the NFS remote on a newer server (flex21?)

@Peter-JanGootzen
Copy link
Contributor Author

TODO disable c-states p-states

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant