text stringlengths 7 369 |
|---|
[232.38 --> 235.32] I think it was, you know, a few days ago, their first alpha. |
[236.14 --> 236.54] Right. |
[237.36 --> 239.44] And I'm going to give it a go this Sunday. |
[239.74 --> 240.86] By the time people are hearing this, |
[240.88 --> 244.54] it'll be just like probably the weekend this episode came out. |
[244.94 --> 247.06] But we tried it at first, |
[247.06 --> 252.52] and there's like some file system typical problems you'll fall into |
[252.52 --> 254.20] that just sort of trap you. |
[254.36 --> 256.74] It's like, I don't know if you ever played that game Pitfall. |
[256.94 --> 259.92] You know, you're running along and all of a sudden you just fall into a pit. |
[260.30 --> 262.76] That's what it's like right now trying to get Linux on the M1. |
[262.86 --> 266.64] But if you solve file system problems or you don't have any file system problems |
[266.64 --> 271.82] and you're trying it on an M1 Mac, like an Air or a Mini, |
[271.82 --> 274.08] it seems to be pretty straightforward. |
[274.54 --> 279.04] And early benchmarks are showing pretty good performance, |
[279.10 --> 280.54] as long as you're not hitting that GPU. |
[281.54 --> 281.60] Yeah. |
[281.62 --> 285.02] You know what's interesting is Jeff Geerling released a video this week |
[285.02 --> 288.24] talking about his experiences with the new Mac Studio. |
[288.94 --> 291.58] And in that video, he did some power comparisons |
[291.58 --> 294.54] between a recent Ryzen system that he built, |
[294.74 --> 298.00] a Linux gaming PC, compared to the Mac Studio. |
[298.00 --> 301.94] And I couldn't quite believe what I was seeing. |
[302.04 --> 304.54] But then at the same time, having used the M1 MacBook Air |
[304.54 --> 309.36] and my M1 Max MacBook Pro. |
[309.66 --> 310.72] God, that's such a stupid name. |
[312.10 --> 313.88] I just called the MacBook Max. |
[314.60 --> 314.94] Okay. |
[315.16 --> 315.42] Yeah. |
[315.50 --> 316.56] Well, it's still a stupid name. |
[316.98 --> 320.30] But who thought Max Mac was a good one? |
[320.40 --> 320.66] Anyway. |
[321.46 --> 321.76] I know. |
[322.06 --> 324.16] You know, there's just nobody to say no anymore, is there? |
[324.60 --> 327.22] Anyway, that's a bit of a segue, a bit of a tangent, |
[327.22 --> 328.50] a bit of a tangent there. |
[329.36 --> 329.80] Yeah. |
[329.80 --> 331.42] The power draw was a lot better, though. |
[331.48 --> 331.78] You're right. |
[332.90 --> 335.22] Wasn't the Ryzen something in the 40-watt neighborhood? |
[335.56 --> 336.06] That's right. |
[336.16 --> 336.52] Yeah, yeah. |
[336.60 --> 339.28] The Ryzen was about 38, 40 watts, something like that. |
[339.34 --> 342.32] And the Mac Studio idle was 6 watts. |
[342.70 --> 343.88] It's the same as a Raspberry Pi. |
[344.48 --> 344.62] Yeah. |
[344.68 --> 346.80] And in the context of Docker Desktop 2, |
[346.90 --> 351.40] you really got to figure the majority of the use case |
[351.40 --> 353.00] is for development testing. |
[353.00 --> 358.56] And so this fsync change doesn't really impact things much |
[358.56 --> 360.08] other than, you know, improves performance. |
[360.22 --> 361.68] I think, I'm not sure, Alex, |
[361.72 --> 363.74] but I think there's an argument to be made |
[363.74 --> 365.76] that it might be slightly less safe |
[365.76 --> 368.24] the way they've changed this operation. |
[368.48 --> 371.10] But it kind of feels like, you know, again, |
[371.36 --> 373.32] for a development Docker setup, |
[373.48 --> 375.96] it doesn't really matter if it's slightly less safe |
[375.96 --> 379.22] because you're not running your production server on this thing. |
[379.22 --> 381.02] Yeah, it's a similar type of operation |
[381.02 --> 383.76] to when you make a bunch of writes to a USB drive, right? |
[384.12 --> 385.50] After you've written some data, |
[385.62 --> 388.02] you need to sync it and make sure that those writes have occurred |
[388.02 --> 389.94] and the fast system tables have all been updated, |
[390.06 --> 390.70] that kind of thing. |
[391.18 --> 394.08] So as it turns out, macOS actually cheats, as you said, Chris. |
[394.72 --> 397.72] On Linux, fsync will both flush writes to the drive |
[397.72 --> 401.14] and ask it to flush its write cache to stable storage. |
[401.66 --> 405.24] But on macOS, fsync only flushes writes to the drive itself. |
[405.24 --> 409.18] Instead, they provide a ffulsync operation |
[409.18 --> 411.02] to do what fsync does on Linux. |
[411.60 --> 415.58] Ah, so you got fsync and you got fsync full sync. |
[416.00 --> 416.34] Yeah. |
[417.12 --> 419.78] Now on the laptops, I can see why they would do this, right? |
[419.82 --> 422.44] Because essentially the laptop has a built-in UPS. |
[422.60 --> 424.18] If you yank the power cord on a MacBook, |
[424.54 --> 426.36] it's going to keep on trucking, right? |
[426.46 --> 427.24] But on a Mac Studio... |
[427.80 --> 428.92] Same on the iPhone, right? |
[428.96 --> 430.24] Same on an iPhone, yeah, absolutely. |
[430.64 --> 433.24] But on a Mac Studio or some kind of other desktop, |
[433.24 --> 436.24] once you pull the power cord, you're toast. |
[436.36 --> 438.76] So this leads me to wonder what would happen to, |
[438.76 --> 441.76] you know, data integrity on a desktop Mac |
[441.76 --> 443.32] that doesn't have a built-in battery. |
[444.46 --> 448.06] Yeah, you got to figure Apple must have done the math, |
[448.44 --> 451.02] but there is that sort of cynical voice |
[451.02 --> 452.28] in the back of my head that goes, |
[452.52 --> 454.90] well, you know, they may have just designed this |
[454.90 --> 458.56] for mobile devices because that's their primary device now. |
[458.62 --> 460.42] And, you know, when they sell Macs, |
[460.42 --> 463.18] the number one Mac they sell are the laptops, |
[463.30 --> 465.52] so they're probably designing for that, you know? |
[465.94 --> 467.96] That's the voice in the back of my head when I hear that. |
[468.02 --> 468.84] And I think to myself, |
[469.36 --> 471.56] maybe APFS needs a few more years |
[471.56 --> 473.92] before I give it the old production grade |
[473.92 --> 476.48] for any kind of serious data storage. |
[477.04 --> 477.88] I mean, that said, |
[478.14 --> 480.94] I've experienced zero issues with APFS. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.