#
…

2026-03-27

00:02SpiritWolf_ has joined #asahi-re
00:05SpiritWolf__ has quit [Ping timeout: 480 seconds]
00:43scottjgPCI BAR1 Sequential Write Benchmark (MiB/s)
00:43scottjg2018 Mac mini 16M 8 49 372 - - -
00:43scottjg--------------------------------------------------------
00:43scottjg Linux pci-cache-probe.ko
00:43scottjgMachine Win Pass Inhib WC Dflt Post PCR
00:43scottjgM4 MacBook Air 8M 4 46 391 46 46 407
00:43scottjg VFIOUserHostApp
00:43scottjgM2 Mac mini 8M 4 22 427 46 46 418
00:43scottjg VFIOUserHostApp
00:43scottjg--------------------------------------------------------
00:43scottjgInhib = ioremap / kIOMapInhibitCache
00:43scottjgWC = ioremap_wc / kIOMapWriteCombineCache
00:43scottjgDflt = kIOMapDefaultCache (macOS)
00:43scottjgPost = kIOMapPostedWrite (macOS)
00:43scottjgPCR = kIOMapPostedCombinedReordered (macOS)
00:44scottjgok so now i'm a little confused, there's definitely a noticeable improvement in performance even on m2 macs when you map memory with kIOMapWriteCombineCache. that was what was suspected to be not supported right?
00:47scottjgfor my project, the biggest issue is that if i map device memory with the hvf api into the vm, i get a host kernel panic when the memory is accessed, so that really restricts the speed i can write to the BARs, since every write is a VMEXIT. that dwarfs any other performance issue for me. so that might be the end of the line on improving perf for
00:47scottjgthat project until apple can add support to the platform
01:14john-cabaj has quit [Ping timeout: 480 seconds]
01:15pb17 has quit [Ping timeout: 480 seconds]
01:18pb17 has joined #asahi-re
01:29michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
01:29michaelros4 has joined #asahi-re
02:36hdbngr has quit [Ping timeout: 480 seconds]
02:44hdbngr has joined #asahi-re
02:46tasvch has quit [Ping timeout: 480 seconds]
02:51pb17 has quit [Ping timeout: 480 seconds]
02:52hdbngr has quit [Ping timeout: 480 seconds]
03:01hdbngr has joined #asahi-re
03:02pb17 has joined #asahi-re
03:28Goodstart[m] has joined #asahi-re
04:16hdbngr has quit [Ping timeout: 480 seconds]
04:26hdbngr has joined #asahi-re
04:49andymandias has quit [Remote host closed the connection]
04:52andymandias has joined #asahi-re
05:07pb17 has quit [Remote host closed the connection]
05:07pb17 has joined #asahi-re
06:45pb17 has quit [Remote host closed the connection]
06:45pb17 has joined #asahi-re
07:37tg47 has quit [Quit: The Lounge - https://thelounge.chat]
07:37tg47 has joined #asahi-re
07:47tasvch has joined #asahi-re
08:12nimprod3l has joined #asahi-re
08:57tg47 has quit [Quit: The Lounge - https://thelounge.chat]
08:59tg47 has joined #asahi-re
09:20tasvch has quit [Ping timeout: 480 seconds]
09:21nimprod3l has quit [Quit: Leaving]
09:54zhushi has joined #asahi-re
09:55zhushi has quit []
11:12pb17 has quit [Ping timeout: 480 seconds]
11:15lukeleppan9 has joined #asahi-re
11:15lukeleppan has quit [Read error: Connection reset by peer]
11:15lukeleppan9 is now known as lukeleppan
11:15pb17 has joined #asahi-re
11:27scottjg6 has joined #asahi-re
11:33scottjg has quit [Ping timeout: 480 seconds]
11:33scottjg6 is now known as scottjg
13:13john-cabaj has joined #asahi-re
14:27tasvch has joined #asahi-re
14:52hdbngr has quit [Ping timeout: 480 seconds]
15:01hdbngr has joined #asahi-re
15:37hdbngr has quit [Ping timeout: 480 seconds]
15:45hdbngr has joined #asahi-re
16:02tasvch has quit [Ping timeout: 480 seconds]
16:21tasvch has joined #asahi-re
16:26chadmed has quit [Quit: Konversation terminated!]
16:27chadmed has joined #asahi-re
16:48hamr8 has quit [Quit: The Lounge - https://thelounge.chat]
16:49hamr84 has joined #asahi-re
16:54hdbngr has quit [Ping timeout: 480 seconds]
18:33hdbngr has joined #asahi-re
18:40yuyichao has quit [Ping timeout: 480 seconds]
19:14tasvch has quit []
19:18hdbngr has quit [Ping timeout: 480 seconds]
19:25hdbngr has joined #asahi-re
19:49r0ni has joined #asahi-re
19:53hdbngr has quit [Ping timeout: 480 seconds]
20:43hdbngr has joined #asahi-re
20:53hdbngr has quit [Ping timeout: 480 seconds]
20:57pb17 has quit [Ping timeout: 480 seconds]
21:00pb17 has joined #asahi-re
21:08WindowPain1 has joined #asahi-re
21:14WindowPain has quit [Ping timeout: 480 seconds]
21:14WindowPain1 is now known as WindowPain
21:24yuyichao has joined #asahi-re
21:48hdbngr has joined #asahi-re
22:13john-cabaj has quit [Ping timeout: 480 seconds]
22:37hdbngr has quit [Ping timeout: 480 seconds]
22:47hdbngr has joined #asahi-re
23:33hdbngr has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-re
23:51hdbngr has quit [Ping timeout: 480 seconds]
…