Re: Throughput questions....
Philipp Eppelt <[email protected]> Wed, 13 Nov 2024 10:13:49 +0100
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Richard, Am 07.11.24 um 14:36 schrieb Richard Clark: > I seem to be getting only 4000 messages per second. Or roughly 4 messages per millisecond. Now there are > a couple malloc() and free() and condition_wait() and condition_signal()s going on as the events and messages > get passed through the sender and receiver threads, but nothing (IMHO) that should slow things down too much. > Messages are very small, like 50 bytes, as I'm really just trying to get a handle on basic overhead. So pretty much, > yes, I'm beating the context-switching mechanisms to death... Please note, that condition_wait / condition_signal might use L4::Semaphore to synchronize the threads, which is an additional microkernel interaction / context switch. > > My questions: > Is this normal(ish) throughput for a single-core x86_64 QEMU system? Benchmarking on Qemu might give you a ballpark number, but QEMU performance depends on several factors like load on the host machine, linux scheduling, etc. This has the effect that the number of instructions-per-cycle execute in a time slice on a QEMU CPU vary. > > And lastly... > We are going to be signing up for training soon... do you have a recommendation for a big beefy AMD-based linux laptop? If you plan on using virtualization in your setup, please be aware that the AMD-SVM support is experimental and needs more work to be ready for a production environment. Intel-VMX is supported. Cheers, Philipp -- [email protected] - Tel. 0351-41 883 221 http://www.kernkonzept.com Kernkonzept GmbH. Sitz: Dresden. Amtsgericht Dresden, HRB 31129. Geschäftsführer: Dr.-Ing. Michael Hohmuth _______________________________________________ l4-hackers mailing list -- [email protected] To unsubscribe send an email to [email protected]
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEO7T7Jq7ah1WoVcqMg8udkTKw7CEFAmc0bc0FAwAAAAAACgkQg8udkTKw7CEX Pw/9GPLpXopTxPlQTUrhIOaM/OX0TnqirMg5UlKR1UzV+MtYk+6B9jV0NHU3a7WunQmeaSVAJmA6 FcnWqtO59k4f6SYiuG+q4DyzpnIGbM7iY+rsh96pCRrN1vQiDGqCuxps90ioQRyj14kqHBnJq5SF 5Sxazz7IBAWG4XWDgzaQzgHcQE2Ce9OVx6XPmdbdHMu3kTh12Hm69qcN5Actz39kaMpY6jKkJXGh oQ/RtpNUaGrdDblCs86tMuNSbeBZMMAzRBaxUzqlwQeZ9qJqtIDPhPS9VR6WfBRGgvtcaEkyi5IE MfG+aRCoKR0GO5qjMhRj4ocOz8dBpb7R315LIhghU++loJRfA6pwA1pEGSWB3qlfE3b/c2EFrEI+ hmVlAfyQ5nMg6du5Gv72dozvkJmmMJK1OYDl+39/ZwYqTxiymiflVM+J60IJ+8n28a4WjBD0T1AW +KHeNzFyedC9rnUA285sQBsAp/LqCk3AKOgqiQufr6k2x0Yl3/lz5pu4dUEAzJr7ma/2oG3WE7F0 BrSUKQq1mhsGe3hRwcl6a9nkEvj2IRgUxCZ0Hd4jzqwgfLopg3q7IbdrqUAGsgUCQGZsR4YTTNYW atABu3UHNvoxT3ufHJSNa78CMWSdyIxbsLUpRqSqVQUxm+rp2zo1t+VPu/380gNNCycDtvHH6Hkq 7RA= =fYkO -----END PGP SIGNATURE-----