#asahi · 2022-11-23 21:45
delsolso you just "lost" 7GB.#asahi · 2022-11-23 21:45
delsolif you have 8GB of QLC.... and you use it as SLC... thats only 1 GB of space... in that 8GB chunk...#asahi · 2022-11-23 21:45
tpw_rulesbut there is only a fixed number of cells which apple might quote as 256GB if used in QLC mode. the controller can write faster by trying to cram less bits into each cell#asahi · 2022-11-23 21:45
delsolTLC stores 3 bits per cell.... QLC 4 bits per cell.#asahi · 2022-11-23 21:45
mac456Ok#asahi · 2022-11-23 21:45
delsoletc#asahi · 2022-11-23 21:45
delsolMLC stores TWO bits per cell... glass is empty, full, 1/3 or 2/3rds full.... 00, 01, 10, 11#asahi · 2022-11-23 21:44
mac456I don't know MLC, TLC, QLC#asahi · 2022-11-23 21:44
mac456SLC is faster#asahi · 2022-11-23 21:44
mac456Yes, I know that#asahi · 2022-11-23 21:44
mac456Yes, I know that#asahi · 2022-11-23 21:44
delsolfull empty.#asahi · 2022-11-23 21:44
delsol0, 1.#asahi · 2022-11-23 21:44
mac456delsol: no#asahi · 2022-11-23 21:44
tpw_rulesand one way is that the controller can trade off performance vs capacity by in some sense double-storing data#asahi · 2022-11-23 21:44
delsolSLC stores 1 bit per cell.#asahi · 2022-11-23 21:44
mac456Oh, ok, I see what you mean#asahi · 2022-11-23 21:44
delsolmac456: OK... so do you know how SLC/MLC/TLC/QLC works?#asahi · 2022-11-23 21:44
tpw_rulesdelsol is saying there may be 256GB of physical chips, but it's not all given to the processor by the nvme controller#asahi · 2022-11-23 21:43
mac456What I don't get is why you can't see the full 256 GB in Linux? There seems to be 5 GB missing. Seems like a problem with the driver.#asahi · 2022-11-23 21:43
tpw_rulesnow if the drive dies or you take it out the namespaces go too and your machine is hosed#asahi · 2022-11-23 21:43
mac456delsol: And you can't see SLC in linux?#asahi · 2022-11-23 21:43
tpw_ruleson the old machines it was a physically separate chip so you could indeed remove the drive#asahi · 2022-11-23 21:43
tpw_rulesi think that's not a good usecase imo#asahi · 2022-11-23 21:42
delsoldells with their hardware function test stuff that was built into EFI/BIOS/etc#asahi · 2022-11-23 21:42
delsolmac456: No.. I'm saying that the older machines had extra storage where that shit was, and that rather than having to build in a "fake bootable USB stick" or other workarounds for that kind of shit, now they can just use extra bits of the NVME namespace to do similar.#asahi · 2022-11-23 21:41
mac456delsol: You're saying there's an additional 5 GB on the SSD devoted to Internet Recovery and Linux can't see it?#asahi · 2022-11-23 21:41
delsolreducing capacity a bit#asahi · 2022-11-23 21:41
delsolmac456: perhaps its 256GB of NAND, but some of it is treated as SLC instead of MLC/TLC/QLC for write performance.#asahi · 2022-11-23 21:40
mac456I don't think it's marketing. The drive is called AP0256Z, that's not a marketing term.#asahi · 2022-11-23 21:40
delsolJust like the the old "internet recovery" mode on other machines, where you could remove the hard drive/ssd.... and still boot the machine with a basic kernel, connect to ethernet or wifi, download and install over the internet onto your replacement drive... even if it took allllll daaaaammmmmnnnnnnn daaaaaaaaaaaayyy.#asahi · 2022-11-23 21:39
tpw_rulesvs marketing#asahi · 2022-11-23 21:39
delsolGB vs GiB vs reserved space?#asahi · 2022-11-23 21:39
tpw_rulesi don't know how the alternate namespaces show up in macos#asahi · 2022-11-23 21:39
mac456(I mean GB as in base-10, not GiB as in base 2)#asahi · 2022-11-23 21:39
mac456One thing that confuses me. The SSD on j413 is supposed to be 256 GB. But I only see 251 GB (nvme0n1) + 1 MB (nvme0n2) + 128 MB (nvme0n3). Where is the other 5 GB?#asahi · 2022-11-23 21:38
tpw_rulesmacos is pretty cagey about letting you access arbitrary partitions#asahi · 2022-11-23 21:37
mac456Ok, I get it. I had just heard there was a hidden partition (hidden from macos), but I think that is referring to nvme0n2/3.#asahi · 2022-11-23 21:37
delsol^^^ THIS. The extra namespace stuff provided by NVME just lets apple/everyone put the other (boot/recovery/firmware/driver/tool options) in extra space.#asahi · 2022-11-23 21:36
tpw_rulesnone of the ssd is hidden to linux. and you can indeed stop the machine from booting by disturbing the stuff needed for boot. #asahi · 2022-11-23 21:35
tpw_ruleswhat do you mean? the nvme0n2 and nvme0n3 namespaces are small and used by very core apple boot software. i don't recall which off the top of my head. the higher level boot stuff including your macos install and the mandatory boot and recovery partitions are just gpt partitions on nvme0n1#asahi · 2022-11-23 21:34
mac456And the mac itself also has some "hidden" area of the SSD, right? Or is that just one of these alternate namespaces?#asahi · 2022-11-23 21:31
mac456tpw_rules Thanks!#asahi · 2022-11-23 21:31
tpw_ruleshttps://nvmexpress.org/resources/nvm-express-technology-features/nvme-namespaces/#asahi · 2022-11-23 21:30
tpw_rulesyes, the nvme spec lets you divide the physical drive at some level lower than partitions#asahi · 2022-11-23 21:29
mac456What are nvme namespaces? It's a single nvme chipset, right? But the kernel module exposes it to Linux kernel as 3 separate devices?#asahi · 2022-11-23 21:27
tpw_rulesnvme namespaces. i believe they are used by the core boot and firmware stuff#asahi · 2022-11-23 21:25
mac456What are 2 and 3? I thought there was only one hard drive.#asahi · 2022-11-23 21:24
mac456What are all the /dev/nvme0n* devices on j413 (M2 Air)? I have nvme0n1, nvme0n2, and nvme0n3.#asahi · 2022-11-23 17:56
aykeHmm, interesting. I disabled translucency in yakuake but I guess some part of it still does the transparency operation (but now with opacity=100%)