#
…

2021-05-17

00:05raster has quit [Quit: Gettin' stinky!]
00:09niv has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
00:09DarkShadow44 has quit [Read error: Connection reset by peer]
00:09n1v has joined #asahi
00:09DarkShadow44 has joined #asahi
00:09n1v is now known as niv
00:13khaled891[m] has joined #asahi
00:17Namidairo has quit [Quit: ZNC - https://znc.in]
00:17Raqbit has quit [Quit: Ping timeout (120 seconds)]
00:17theracermaster has quit [Quit: Ping timeout (120 seconds)]
00:17theracermaster has joined #asahi
00:17Namidairo_ has joined #asahi
00:17Raqbit has joined #asahi
00:18skg has quit [Quit: 〜バイバイ〜!]
00:18skg has joined #asahi
00:19leah2 has quit [Read error: Connection reset by peer]
00:38maknho has joined #asahi
00:40maknho____ has quit [Ping timeout: 246 seconds]
00:53odmir has joined #asahi
00:54Bublik has joined #asahi
00:59odmir has quit [Ping timeout: 268 seconds]
01:13odmir has joined #asahi
01:17odmir has quit [Ping timeout: 245 seconds]
01:22choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:32odmir has joined #asahi
01:33zkrx has quit [Ping timeout: 240 seconds]
01:36odmir has quit [Ping timeout: 240 seconds]
01:40zkrx has joined #asahi
02:01inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
02:02jabashque has quit [Quit: Connection closed for inactivity]
02:07zkrx has quit [Ping timeout: 240 seconds]
02:14inglor has joined #asahi
02:36zkrx has joined #asahi
02:37phiologe has quit [Ping timeout: 245 seconds]
02:38phiologe has joined #asahi
03:16odmir has joined #asahi
03:27jeffmiw has joined #asahi
03:31jeffmiw has quit [Ping timeout: 265 seconds]
03:32marvin24 has quit [Ping timeout: 245 seconds]
03:33marvin24 has joined #asahi
03:35odmir has quit [Ping timeout: 240 seconds]
03:37odmir has joined #asahi
03:41odmir has quit [Ping timeout: 240 seconds]
05:27VinDuv has joined #asahi
05:37m0drobert is now known as modrobert
05:54jabashque has joined #asahi
06:16VinDuv has quit [Quit: Leaving.]
07:08leah2 has joined #asahi
07:09herbas has joined #asahi
07:24ephe_meral1 has joined #asahi
07:39odmir has joined #asahi
07:43odmir has quit [Ping timeout: 240 seconds]
07:52herbas has quit [Quit: herbas]
08:06jeffmiw has joined #asahi
08:11jeffmiw has quit [Ping timeout: 252 seconds]
08:57bgb has joined #asahi
09:00Serentty has quit [Quit: Idle for 30+ days]
09:02bgbIt seems that big cores run at 600M Hz, is it possible to scale up to 3G Hz at m1n1?
09:05Bublik has quit [Ping timeout: 265 seconds]
09:07zkrx has quit [Ping timeout: 252 seconds]
09:07Bublik has joined #asahi
09:36zkrx has joined #asahi
09:38raster has joined #asahi
09:44maknho_ has joined #asahi
09:46marcanbgb: cpufreq management will be done in linux, but in a pinch I'm sure we can add some minimal support to m1n1
09:47maknho has quit [Ping timeout: 265 seconds]
09:50bgbmarcan: just reading Corellium's cpufreq support, not sure if the registers come from open-sourced xnu.
09:56marcanbgb: if they do I'm happy to use it, if they don't, well, I'm sure I'll have information on them soon from mmiotrace
09:56marcananything I can easily work out with mmiotrace, I'd much rather do that way than use the corellium code as a reference
09:59bgbanother question is, cpu frequency usually related to voltage and ddr frequency, I can see voltage related config in their code, but there seems no ddr freqency.
10:01marcanthey should be independent, but yeah there should be some control for it
10:01marcanhowever, remember there is a power manager sub-cpu that might take care of a lot of this for us
10:01marcanso it's possibly that is implicitly managed or something like that
10:03bgbdo wish that
10:03marcanseems PMP indeed manages DRAM bandwidth and presumably clocks
10:04marcanjudging by strings
10:04marcanDRAM power greater than threshold power = %u mw
10:04marcanDRAM energy greater than threshold energy = %u nj
10:04marcanRT BW Req.
10:04marcanClock Req.
10:04marcanshould be interesting to see what the interface is, if this is implicit or if we actually need to issue commands to it to tell it e.g. what the display pipe isochronous bandwidth requirement is
10:05marcandisplay is managed by another engine though, so they might just communicate among themselves for that
10:06marcanstrings on DCP suggests there is in fact some doorbell or interface to take care of this exchange, presumably behind the scenes
10:06marcanyup, DCP definitely talks to PMP
10:06marcanyay, less things to care about
10:07bgbsorry, what is DCP?
10:07marcandisplay controller processor (guess)
10:08marcandeals with a lot of the details of display pipe setup and such
10:08bgbmake sense
10:08marcanI'm very curious as to what the OS level interface to it is
10:08marcanmight be pretty high level, which would make our DRM/KMS driver for this largely a shim in that case
10:08marcanI'm very much looking forward to not having to deal with DisplayPort training, hopefully :-)
10:13bgbseems currently big core's freq is at low frequency, right?
10:16_jannau_yes, the efficiency cores are clocked around 2GHz (iirc) and faster than the performance cores at bootup
10:19marcanprobably upclocked by iBoot to speed up boot
10:20bgbyeah, i also notice that.
10:22bgbwonder why it doesn't speed up big core to 3G and boot faster
10:24marcanbecause the little core is core 0, and probably because big cores are more likely to need chicken bits to not explode
10:24marcan(they do have more of them)
10:24_jannau_I guess the efficciency cores can safely run at full power without down clocking/fan activation but the performance cores can not
10:25marcanI wouldn't expect boot to be significantly CPU-limited anyway; other than uncompressing xnu (which I don't think takes that long), it's probably largely limited by hardware bring-up delays and such
10:26marcancertainly on this kind of machine
10:26marcansmaller systems are another story
10:35Bublik_ has joined #asahi
10:37Bublik has quit [Ping timeout: 240 seconds]
10:41hsaias has joined #asahi
10:46rjeffman has joined #asahi
11:00maknho_ has quit [Ping timeout: 260 seconds]
11:01maknho_ has joined #asahi
11:08Ariadne has joined #asahi
11:32bgbas for performance, under the condition that PMP handles the overall frequecy scaling, do you think performance like IPC(inst per cycle) is proportional to frequency?
12:09marcanbgb: IPC is fixed by definition for any given microarchitecture and benchmark, modulo memory stalls and such
12:16soreargoing from 600MHz to 3000MHz you (ideally) run 5x as many instructions but you also have 5x as many cycles, so it cancels out in the ratio
12:17jixmarcan: some intel CPUs do change IPC for some AVX code depending on freq and/or voltage: https://travisdowns.github.io/blog/2020/01/17/avxfreq1.html but that's pretty much the exception and I would be very surprised if apple would be doing anything like that
12:21jn__bgb: to put it slightly differently: instructions per second is roughly proportional to frequency; the ratio between the two is instructions per cycle
12:21marcanjix: okay yeah intel are weird
12:47jeffmiw has joined #asahi
12:50jabashque has quit [Quit: Connection closed for inactivity]
12:51jeffmiw has quit [Ping timeout: 246 seconds]
12:53bgbmarcan: I think you mean max IPC is fixed inside core. But if a program is memory sensitive, it becomes complicated. assume ddr latency is roughly fixed at some config, a memory cost program(I mean cache miss frequently) runs with less cycles at lower frequency, inst is fixed for specific program, so IPC increases at lower freq
13:23Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
13:23Mrmaxmeier has joined #asahi
13:24Mrmaxmeier has quit [Client Quit]
13:32bgb has quit [Ping timeout: 260 seconds]
13:41Namidairo_ has quit [Read error: Connection reset by peer]
13:44Namidairo has joined #asahi
13:48rjeffman has quit [Ping timeout: 260 seconds]
13:54odmir has joined #asahi
13:59odmir has quit [Ping timeout: 268 seconds]
14:01kettenis has quit [Ping timeout: 246 seconds]
14:02kettenis has joined #asahi
14:03odmir has joined #asahi
14:10zkrx has quit [Ping timeout: 252 seconds]
14:14zkrx has joined #asahi
14:46maknho__ has joined #asahi
14:48maknho_ has quit [Ping timeout: 246 seconds]
15:02maknho___ has joined #asahi
15:04maknho__ has quit [Ping timeout: 240 seconds]
15:13bgb has joined #asahi
15:18bgb has quit [Ping timeout: 265 seconds]
15:27bisko has joined #asahi
15:33ephe_meral1 has quit [Ping timeout: 265 seconds]
15:38odmir has quit [Remote host closed the connection]
15:39odmir has joined #asahi
15:43odmir has quit [Ping timeout: 240 seconds]
15:57bisko has quit [Ping timeout: 268 seconds]
16:00rjeffman has joined #asahi
16:04bisko has joined #asahi
16:08hsaias has quit [Ping timeout: 240 seconds]
16:08bisko has quit [Ping timeout: 240 seconds]
16:10odmir has joined #asahi
16:13bisko has joined #asahi
16:44VinDuv has joined #asahi
16:53odmir has quit [Ping timeout: 268 seconds]
16:54bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:04herbas has joined #asahi
17:09herbas has quit [Quit: herbas]
17:19odmir has joined #asahi
17:34jeffmiw has joined #asahi
17:39jeffmiw has quit [Ping timeout: 265 seconds]
17:41bisko has joined #asahi
17:41choozy has joined #asahi
17:43bisko has quit [Client Quit]
17:53odmir has quit [Ping timeout: 260 seconds]
18:05odmir has joined #asahi
18:10odmir has quit [Ping timeout: 240 seconds]
18:21kubes has joined #asahi
18:21maknho____ has joined #asahi
18:24maknho___ has quit [Ping timeout: 265 seconds]
18:38odmir has joined #asahi
18:43odmir has quit [Ping timeout: 260 seconds]
19:00maknho has joined #asahi
19:03maknho____ has quit [Ping timeout: 268 seconds]
19:10odmir has joined #asahi
19:14odmir has quit [Ping timeout: 240 seconds]
19:20luca020400 has quit [Quit: WeeChat 3.1]
19:22luca020400 has joined #asahi
19:24maknho has quit [Quit: WeeChat 2.3]
19:26odmir has joined #asahi
19:27maknho has joined #asahi
19:28maknho has quit [Client Quit]
19:28maknho has joined #asahi
19:29kubes has quit [Quit: Leaving]
19:31odmir has quit [Ping timeout: 260 seconds]
19:42odmir has joined #asahi
19:45maknho has quit [Ping timeout: 265 seconds]
19:46maknho has joined #asahi
19:47odmir has quit [Ping timeout: 240 seconds]
20:03jules has joined #asahi
20:04VinDuv has quit [Quit: Leaving.]
20:04odmir has joined #asahi
20:10odmir has quit [Ping timeout: 268 seconds]
20:38odmir has joined #asahi
20:43odmir has quit [Ping timeout: 268 seconds]
20:52Z750 has quit [Quit: Off to make tacos...]
20:55Z750 has joined #asahi
20:58jeffmiw has joined #asahi
21:04choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:06raster has quit [Quit: Gettin' stinky!]
21:09Hexagon has quit [Quit: Hexagon]
21:10Hexagon has joined #asahi
21:23maknho_ has joined #asahi
21:25maknho has quit [Ping timeout: 246 seconds]
22:06jeffmiw has quit [Remote host closed the connection]
22:24jeffmiw has joined #asahi
22:28jeffmiw has quit [Ping timeout: 252 seconds]
22:51odmir has joined #asahi
23:08taziden has quit [Ping timeout: 260 seconds]
23:25taziden has joined #asahi
23:26raster has joined #asahi
23:32raster- has joined #asahi
23:33raster has quit [Ping timeout: 240 seconds]
23:34raster- has quit [Client Quit]
23:34raster has joined #asahi
23:48jeffmiw has joined #asahi
23:53jeffmiw has quit [Ping timeout: 252 seconds]
…