#
…

2021-02-15

00:05radex has quit [Ping timeout: 260 seconds]
00:06radex has joined #asahi
00:27maor26 has quit [Ping timeout: 265 seconds]
00:30smist08[m] has joined #asahi
01:04snalty has quit [Ping timeout: 240 seconds]
01:07kettenis has quit [Ping timeout: 240 seconds]
01:19kettenis has joined #asahi
01:20marcan< davidrysk[m]> I've been "up 4 days, 20:22" and kernel_task has written 15.68 TB in that time <- uhh
01:20marcanthis sounds like a problem in the making
01:21marcan15TB in 2 days is ridiculous
02:08riker77 has quit [Ping timeout: 264 seconds]
02:12riker77 has joined #asahi
02:23davidrysk[m]marcan: yeah, this is not good
02:31dougall has joined #asahi
02:31TheJollyRogerYour poor SSDs and RAIDs and HDDs!
02:56davidrysk[m]at 16.62TB now
02:57davidrysk[m]that was almost a whole TBW in what, 8-9 hours
03:02davidrysk[m]can someone on macOS with security disabled try `sudo zprint -t`?
03:04marcandavidrysk[m]: fwiw, my MBP is at 500GB total writes. it's not like I'm doing too much with but... that sounds about reasonable, given the osx upgrades/reinstalls it's gone through
03:04marcan*with it
03:04davidrysk[m]marcan: you're not running it on macOS though, for daily use, correct?
03:04davidrysk[m]do you typically have a lot of stuff open?
03:04marcanwell, for some definition of daily
03:04davidrysk[m]yeah that might be why
03:05davidrysk[m]I have several electron-powered apps open
03:05marcanwell, usually browsers
03:05inglor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
03:05marcanand discord
03:05marcanno others though
03:06marcandavidrysk[m]: should I ask twitter?
03:06davidrysk[m]I see that never_released already did
03:06davidrysk[m]that's why this all came up
03:08marcancool, will qt
03:10bgb has joined #asahi
03:10davidrysk[m]there is a bootarg to set the vm mode
03:14PhilippvK has joined #asahi
03:14phiologe has quit [Ping timeout: 260 seconds]
03:14davidrysk[m]"freezer" is what apple uses on iOS -- it saves the program's state and stops it
03:15davidrysk[m]that's not exactly practical on macOS
03:16marcanso I'm up 2 days with just 2GB written by kernel_task
03:16marcanthough this was because my battery died a couple days ago (didn't plug it in all the way...)
03:16inglor has joined #asahi
03:17marcanswap used 37MB... yeah I guess my usage pattern doesn't get it to swap
03:17marcan16GB here
03:29KindOne has quit [Ping timeout: 240 seconds]
03:29plainbits has joined #asahi
03:33KindOne has joined #asahi
03:34davidrysk[m]marcan: try adding slack, teams, signal, imessages, two or three browsers
03:34davidrysk[m]apparently xnu will panic if you turn off swap entirely and there's memory pressure
03:35tpw_rulesmy system usually uses around 8GB swap
03:36davidrysk[m]lol disk utility says "S.M.A.R.T. status : Not Supported"
03:36davidrysk[m]that said, activity monitor shows writes consistent with this smart log
03:37tpw_rulesmy system which seems to have entirely reasonable total writes
03:37davidrysk[m]tpw_rules: M1 or Intel?
03:37davidrysk[m]people are reporting that this doesn't really happen on Intel
03:37tpw_rulesoh okay, good to know
03:46davidrysk[m]I wonder how much of this is due to running Textual IRC
03:46davidrysk[m]but I quit it and the kernel_task usage did not seem to stop
03:47tpw_rulesi've ran it for years
03:52marcandavidrysk[m]: holy shit the one you tweeted
03:52marcandifferent machine?
03:52davidrysk[m]same machine
03:52davidrysk[m](I only have one M1 machine)
03:52davidrysk[m]marcan: the 1TB was over 8 hours according to activity monitory
03:52marcanoh right, sorry, misread
03:52marcanthis is way worse than I thought
03:52marcanespecially that being a 2T machine
03:53davidrysk[m]I've used it heavily, but not that heavily.
03:54davidrysk[m]the memory pressure is always in the green...
04:02davidrysk[m]I can't seem to figure out a way to make activity monitor show real time pageins/pageouts
04:02davidrysk[m]which task manager on windows can do
04:17davidrysk[m]does `sudo zprint` work for anyone?
04:17davidrysk[m]I get "zprint: mach_memory_info: (os/kern) invalid host (try running as root)" but I do have security on
04:27Tokamak has quit [Ping timeout: 240 seconds]
04:34Tokamak has joined #asahi
04:37marcansame here
04:38marcanbut I think security should be on for this install too
04:55marvin24 has quit [Ping timeout: 268 seconds]
04:55marvin24 has joined #asahi
04:56Necrosporus has quit [Killed (orwell.freenode.net (Nickname regained by services))]
04:56Necrosporus has joined #asahi
04:57narmstrong has quit [Ping timeout: 240 seconds]
04:58bgb has quit [Ping timeout: 272 seconds]
04:58hatf0 has quit [Read error: Connection reset by peer]
04:58jkkm has quit [Read error: Connection reset by peer]
04:58steev has quit [Read error: Connection reset by peer]
04:58bgb has joined #asahi
04:58eric_engestrom has quit [Ping timeout: 240 seconds]
04:58titanous has quit [Read error: Connection reset by peer]
04:58narmstrong has joined #asahi
04:58hatf0 has joined #asahi
04:58jkkm has joined #asahi
04:58eric_engestrom has joined #asahi
04:58titanous has joined #asahi
04:59steev has joined #asahi
05:04GlanzmannI have no memory pressure because I have 16 GB of RAM and only run iterm and firefox and iina (movie player). But I did not figure out which command I have to run to find out how much data has written on macos.
05:07GlanzmannData Units Written: 1,453,547 [744 GB] - I have it for two months.
05:14Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:15bgb has quit [Ping timeout: 246 seconds]
05:16bgb has joined #asahi
05:17Tokamak has joined #asahi
05:20bgb has quit [Ping timeout: 240 seconds]
05:30bgb has joined #asahi
05:55Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:15bgb has quit [Ping timeout: 256 seconds]
06:16bgb has joined #asahi
06:21bgb has quit [Ping timeout: 246 seconds]
07:11VinDuv has joined #asahi
07:17mndza has joined #asahi
07:23jeffb has quit [Ping timeout: 240 seconds]
07:28bgb has joined #asahi
07:32bgb has quit [Ping timeout: 240 seconds]
07:34bgb has joined #asahi
07:34plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:37plainbits has joined #asahi
07:38bgb has quit [Ping timeout: 256 seconds]
07:40VinDuv has quit [Quit: Leaving.]
07:47ephe_meral has joined #asahi
08:01arndI had tried running a 12GB Linux guest on the 16GB mac mini, which ended up completely unusable. Giving it 8GB was fine mostly. I have about 1TBW after 19 hours of total machine usage (both according to smartctl)
08:06ephe_meral has quit [Ping timeout: 272 seconds]
08:22plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:53amw has quit [Ping timeout: 240 seconds]
09:00nhlism[m] has quit [Quit: Idle for 30+ days]
09:10thresh has quit [Remote host closed the connection]
09:10thresh has joined #asahi
09:14plainbits has joined #asahi
09:14Chainsaw has quit [Remote host closed the connection]
09:15tarzeauarnd: is that with or without x/gui? wayland? i'm very happy using zram and nohang
09:17arndtarzeau: this was with MacOS running with one user logged in graphically and another user running a text-only Linux guest through ssh most of the time
09:18odmir has quit [Read error: Connection reset by peer]
09:18thestr4ng3r has quit [Quit: ZNC 1.8.1 - https://znc.in]
09:19the-mentor has quit [Quit: Ping timeout (120 seconds)]
09:19thestr4ng3r has joined #asahi
09:19odmir has joined #asahi
09:19Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
09:19the-mentor has joined #asahi
09:19Mrmaxmeier has joined #asahi
09:20snalty has joined #asahi
09:20nmg has quit [Ping timeout: 265 seconds]
09:20nmg has joined #asahi
09:20Gaelan_ has joined #asahi
09:21ky0ko has quit [Read error: Connection reset by peer]
09:21Gaelan has quit [Read error: Connection reset by peer]
09:21dshep has quit [Ping timeout: 265 seconds]
09:21dshep has joined #asahi
09:22ky0ko has joined #asahi
09:25maor26 has joined #asahi
09:26jixdo power on hours count something else than the name implies, or is my samsung SSD (non-apple machine) just making up numbers? (wanted to compare my usage to what people report from apple hw)
09:27ephe_meral has joined #asahi
09:54Glanzmannarnd: Wow. So you say, while you had the VM running with 12 GB RAM it wrote 1 TBW? Okay of course the OS installation and updates also consume some, but that is strange.
10:13arndthere was also a lot of building all of compiling enough homebrew to run a patched qemu, and whatever the other user did
10:13arndbut it was clearly thrashing while I tried to work inside of the 12GB machine, without anything interesting going on outside
10:42Tokamak has joined #asahi
10:53cdesai2TB writes in total here, 1TB air I got in december, has been pretty much on all the time since then although used sparingly.
11:02bgb has joined #asahi
11:07bgb has quit [Ping timeout: 240 seconds]
11:27Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:27mndza has quit [Read error: Connection reset by peer]
11:28mndza has joined #asahi
11:29bgb has joined #asahi
11:30Necrosporus has quit [Ping timeout: 246 seconds]
11:33ch15TB, arrived mid-december, been using it pretty much all the time since
11:37bgb has quit [Ping timeout: 264 seconds]
11:56bgb has joined #asahi
12:05bgb has quit [Ping timeout: 265 seconds]
12:18marcanLinux bring-up patchset v2 going out now :)
12:19tarzeauparty&dance!
12:20j`eyits grown, 25 patches now!
12:20maximus64is this the final one or there is plan for v3? heh
12:20imobilisgreat! :)
12:20hypergenesis[m]I suppose it depends on what further feedback is provided on the mailing list
12:21* tarzeauused to have .signature with Windoze not found: (C)heer, (P)arty or (D)ance?, but now what's the equivalent for macOS ?
12:21marcanmaximus64: I would be very surprised if there isn't a v3
12:21marcanbut I'm hoping whatever's left to change will be minor :)
12:22arndthere are probably a few very minor comments that can just be addressed in without a resend
12:22arndthe main thing now is to get Acks from the arm64, irqchip, dt and serial maintainers so I can merge it through the soc tree
12:24marcanhow often does a new SoC get merged in just a v2? :)
12:26arndrarely, most new maintainers are less thorough in their initial bringup
12:27arndthen again, we sometimes see new SoC support from maintainers that already own multiple other platforms, and those might go in after v1. Same for anything that is just a minor revision of an existing SoC family
12:28arndwe rarely have one that requires changes to core code like this one does
12:30arndmarcan: you will probably get a semi-automated message from gregkh, telling you that he doesn't review serial driver patches during the merge window
12:39kettenisstdout-path = "serial0:1500000";
12:39BaughnLogBot has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
12:40kettenisis that intentional, or is that just a placeholder that gets filled in by m1n1 with the real baudrate?
12:40Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
12:40Mrmaxmeier has joined #asahi
12:49bgb has joined #asahi
12:53_jannau_kettenis: it is the real baudrate when using m1n1 via proxyclient
12:56plainbits has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:08bgb has quit [Ping timeout: 240 seconds]
13:08marcanarnd: I didn't CC greg, I figured Krzysztof would take care of the samsung stuff and there are no longer any changes outside of that
13:09marcankettenis: I've been standardizing on 1.5mbaud here for loading kernels and because why not (it's the fastest it goes)
13:09marcanm1n1 boots at 115200 but the first thing all the client stuff does is switch to 1.5m
13:09arndmarcan: gregkh will have to provide an Ack for merging the changes through the soc tree instead of the serial tree
13:10arndkrzk of course should review whether the changes are ok before that
13:10bgb has joined #asahi
13:10marcanah, right
13:12marcanarnd: is there a good way to map out who needs to be CCed from get_maintainers output? or just everyone? (that's a lot of people)
13:14marcane.g. the simplefb change is only a change to the binding (documenting already supported modes and adding a compatible), but sending the entire series to everyone involved in fb/drm seems excessive for that? I don't really know how this usually goes
13:16ephe_meral has quit [Read error: Connection reset by peer]
13:16ephe_meral has joined #asahi
13:17bgb has quit [Ping timeout: 265 seconds]
13:38marcan(sorry for the newbie questions)
13:40modwizcodeHow many people is it?
13:42arndmarcan: there is no good automated way. Best apply some common sense to limit the Cc's to the ones that are listed as maintainers and the people with the most commits. It's definitely easier once you know who everyone is ;-)
13:43modwizcodeI wonder how anyone even keeps up with the CC volume.
13:43arndI tend to use 'git send-email --to-cmd="./scripts/get_maintainer.pl -i --no-git --no-git-fallback --m --no-r --no-l" --cc-cmd="./scripts/get_maintainer.pl -i --git --r --l"'
13:44mazwe're really good an ignoring email! :D
13:45arndand the with 'to' I only pick the names that are the people that I expect to eventually apply the patch, and with Cc I pick whatever seems most appropriate
13:45modwizcodeWhen I sent patches off to QEMU (which borrows the linux process I think generally), I sent them to nobody (or myself) and CC'd people from get_maintainer.pl
13:45arndgit-send-email will leave out the duplicates from cc
13:45modwizcodeThat's nice of it
13:46modwizcodeDo you use any client in particular for replies btw?
13:46mps has quit [Ping timeout: 240 seconds]
13:47arndI used to have a script that takes adds everyone who added a Reviewed-by/Acked-by/Signed-off-by/etc tag to the original patch referred to by a 'Fixes: abcd12345678 ("commit shortlog")' line, but now this is done automatically
13:47mps has joined #asahi
13:48marcanah, didn't know that. neat.
13:48arndmodwizcode: the address I send from redirects to gmail, so I just use that for replying. It's not great, but I got stuck with it after a previous job required using it, and I have never started using mutt
13:48marcanI use thunderbird myself fwiw
13:48modwizcodeI use gmail too since my domain email is still handled there (saves me from setting up verification keys and such which seems to get ever harder)
13:49modwizcodeI just feel annoyed because gmail includes entire reply chain by default which leads to ever growing emails
13:49modwizcodeI've wondered if that might annoying maintainers
13:50arndmodwizcode: it certainly does, you have to trim that manually, but that is the same as with any other client
13:50marcanno inline replies?
13:50marcanfor inline replies trimming is kind of implied, no?
13:50modwizcodeThat's what I've been doing.
13:50modwizcodeInline replies are annoying because gmail wraps a little visual sugar around it that makes it hard to edit
13:51modwizcodeLike you can do them, but it's frustrating, to the point where I was wondering if I was doing it wrong
13:51arndthe annoying bit with gmail is that it adds a couple of empty lines above the quote and puts your cursor there, so you have to trim both the extra newlines and the unneeded text
13:52arndit also occasionally goes back to html replies for me instead of plain text, so the replies get silently dropped by many mailing lists
13:52modwizcodeYeah I'm 99% sure that gmail always includes a second html copy
13:53modwizcodeI was checking my replies and even in plain text mode it seems to include that
13:57BaughnLogBot has joined #asahi
14:06plainbits has joined #asahi
14:09Tokamak has joined #asahi
14:12ncason has joined #asahi
14:15bgb has joined #asahi
14:15bgb has left #asahi [#asahi]
14:26kettenismarcan: 1.5M is somewhat annoying as a default baudrate for a serial console
14:27kettenismany usb-to-serial converters don't support it and at a connection at that speed is quite susceptible to line noise
14:27marcan_ has joined #asahi
14:28kettenisI can see why you want it for uploading binaries, but as a default 115200 would be better
14:28marcan_ has quit [Client Quit]
14:29arndI would also suggest 115200 as the default in the dts file if the driver requires one, but allow the bootloader to override it with whatever it uses for the uart itself. Having the bootloader and the kernel use different rates would be worse than either default
14:31marcanI'll check to see if I can make it just keep the existing baud rate, and switch to 115200 otherwise
14:35plainbits has quit [Quit: Textual IRC Client: www.textualapp.com]
14:36tomatkinson has joined #asahi
14:36tomatkinson is now known as hir0
14:38Necrosporus has joined #asahi
14:40hir0 is now known as tomatkinson
14:47maor26 has quit [Ping timeout: 265 seconds]
15:14tomatkinson has left #asahi [#asahi]
15:15marcanmodwizcode: v2 was CCed to 13 people fwiw, not counting myself or mailing lists
15:22marcanarnd, kettenis: we don't need the baud rate, the driver knows how to keep it. I just removed it.
15:22hir0 has joined #asahi
15:27hir0 has quit [Quit: hir0]
15:35sven- has joined #asahi
15:37sven has quit [Ping timeout: 246 seconds]
15:37sven- is now known as sven
15:37hir0 has joined #asahi
15:41kettenisthat should work; most DTs don't specify a baudrate
15:41opticronmarcan, if you haven't figured out your reverse-sshfs conundrum yet, https://github.com/Overv/outrun might provide some of the pieces you need
15:52marcanah yeah, github has a bunch of neat poorly documented tricks like that
15:52marcanthat's a good one indeed
15:56ephe_meral has quit [Ping timeout: 240 seconds]
15:58ncason has quit [Read error: Connection reset by peer]
16:00etienneli[m] has quit [Quit: Idle for 30+ days]
16:00ncason has joined #asahi
16:02Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:03ncason has quit [Remote host closed the connection]
16:07mps has quit [Ping timeout: 265 seconds]
16:08mps has joined #asahi
16:10mps has left #asahi [#asahi]
16:13marcanTIL that mips does not include the generic io.h...
16:14marcannor do alpha, hexagon, parisc, sh, sparc either. huh.
16:16bisko has joined #asahi
16:16marcanoh, sparc64 does not, spark32 does. bizarre...
16:20dhewgnice, 50TB in ~9 years isn't that much though
16:20dhewgmeep, wrong window
16:22marcanthis looks somewhat broken already...
16:24marcanah, okay, figured it out
16:28marcanso only sparc64 doesn't use any of the generic headers, weirdly enough
16:32marcanI'm not happy with having to touch sparc in there...
17:02ky0ko has quit [Ping timeout: 246 seconds]
17:13bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
17:27arndmarcan: I don't think davem minds me picking up that oneline change
17:27arndI frequently do cross-architecture changes like that through the asm-generic tree
17:30arndnote that sparc32 is pretty much unmaintained except for the Cobham Gaisler LEON CPU part that is missing a number of patches, while the sparc64 port hasn't seen much work in the past few years either but at least still is still usable on workstations.
17:31arndwe used to not include asm-generic/io.h anywhere at all, it took a while to creep into all architectures except for the least actively maintained ones
17:37Glanzmannb/whois arnd
17:43VinDuv has joined #asahi
17:43TheJollyRoger has quit [Quit: TheJollyRoger]
18:01nkaretnikov has quit [Ping timeout: 264 seconds]
18:02eric_engestrom has quit [Ping timeout: 272 seconds]
18:02mats has quit [Ping timeout: 265 seconds]
18:02nkaretnikov has joined #asahi
18:02titanous has quit [Ping timeout: 264 seconds]
18:02eichin has quit [Ping timeout: 260 seconds]
18:02eric_engestrom has joined #asahi
18:02titanous has joined #asahi
18:03HeN has quit [Ping timeout: 260 seconds]
18:03mats has joined #asahi
18:04HeN has joined #asahi
18:04eichin has joined #asahi
18:13gruetzkopfi should poke at 32bit sparc some more
18:14marcanarnd: good to know :)
18:23tarzeauif only i could get a sparcstation 20 or so, i'd run openstep on it
18:37mndza has quit [Ping timeout: 272 seconds]
18:47kettenisgood luck finding an ss20 with a working idprom
18:52tarzeauglad there's still gnustep.org, fine enough, but all the apps are missing
18:54dottedmagmarcan: Thanks, snatched the last (!) discounted 4x bundle
19:01BaughnLogBot has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
19:02BaughnLogBot has joined #asahi
19:05hir0 has quit [Ping timeout: 265 seconds]
19:32hir0 has joined #asahi
20:32hir0 has quit [Quit: hir0]
20:40hir0 has joined #asahi
20:42hir0 has quit [Client Quit]
20:46hir0 has joined #asahi
20:46hir0 has quit [Client Quit]
20:50VinDuv has quit [Quit: Leaving.]
20:50gruetzkopfkettenis: have two
21:01ephe_meral has joined #asahi
21:34leah2 has quit [Ping timeout: 264 seconds]
21:43leah2 has joined #asahi
21:50jannauneat: `cat m1n1.macho initrd.xz > m1n1-initrd.macho; chainload.py m1n1-initrd.macho; linux.py Image.xz apple-j274.dtb` works
21:51jannauof course much more useful when using m1n1-initrd.macho as alternative boot kernel from the nvme
22:01roxfanwhat's the point of using cat instead of cp?
22:02davidrysk[m]I didn’t think cp concatenated files
22:04davidrysk[m](Unlike the windows equivalent which iirc does)
22:15TheJollyRoger has joined #asahi
22:16sbingner has quit [Ping timeout: 258 seconds]
22:25sbingner has joined #asahi
22:32roxfanah didn't notice that you cat two files
22:39ephe_meral has quit [Ping timeout: 272 seconds]
22:54JTL has quit [Quit: WeeChat 2.9]
22:54JTL has joined #asahi
22:54JTL has quit [Client Quit]
22:55JTL has joined #asahi
22:59JTL is now known as JLT
23:29amw has joined #asahi
23:32JLT is now known as JTL
…