2024-12-22T00:32:00 *** teepee_ is now known as teepee 2024-12-22T01:44:33 is first years server fallen over again. i seemed to have gotten the debug packages ok 2024-12-22T01:45:53 the release version is 20-12-2024 2024-12-22T02:07:06 No, it's fine. 2024-12-22T02:30:57 oh, ok. it must be under heavy load 2024-12-22T02:31:30 it's too slow. is the connection on fibre 2024-12-22T02:32:47 It's on a gigabit connection. 2024-12-22T02:33:34 I believe you will agree the load here looks fine. 2024-12-22T02:35:17 if it's fine, why does it take hours to compltely sync th release 2024-12-22T02:36:43 Because it doesn't _sync anything_. It's closer to a cdn where it "caches first hit". Normally the connection from that machine back to the "master" mirror is 100mbit to 200mbit. So any "slowness" is is from the master mirror on first hit. 2024-12-22T02:37:17 Because the thing is jshand that most of the packages on the "mirrors" are never even accessed. 2024-12-22T02:37:27 So syncing is a waste, only cache what's actually used. 2024-12-22T02:37:37 We end up with a 90% or more hit rate because of this. 2024-12-22T02:38:22 The setup is that anything that "is synced" to a mirror in aus, is directed to first, we only direct you to the mirror.fy.id.au for stuff that isn't "synced" locally, and then it caches it from the master 2024-12-22T02:40:13 oh, ok. 2024-12-22T02:40:16 interesting 2024-12-22T02:40:28 Yeah, it's super effective in what it does actually. 2024-12-22T02:41:12 There are other tricks it has too, like I coded in some "pattern" recognition where if you ask for the first repo file, we prefetch them all in the background to ensure their hot before zypper even makes the next request. 2024-12-22T02:41:18 yeah, just tried doing a zypper dup and nothing has come down apart from the debug packages. i'm in nz if that helps 2024-12-22T02:41:19 It's why zypper ref is soooooo much faster now. 2024-12-22T02:41:58 Are a lot of your packages from obs home repos perchance? 2024-12-22T02:42:56 i don't think they are obs 2024-12-22T02:43:54 Now, if you want to talk about a big problem we have, it's that whatever pushes content to other mirrors doesn't do it atomically. 2024-12-22T02:44:10 slowroll? 2024-12-22T02:45:09 i wish i knew what that problem is, i dont understand all this networking stuff 2024-12-22T02:47:49 jshand: Oh the other thing is zypper still does some really bad behaviour wrt to connection management. 2024-12-22T02:47:53 So that could be at play too 2024-12-22T02:47:55 jshand: Could be anywhere between NZ and the rest of the internet. You need to find someone there willing to setup/maintain a mirror. Even talk to your ISP about it... 2024-12-22T02:48:07 I'm seeing no issues between mirror.fy.id.au to de though. 2024-12-22T02:48:29 jshand: What variante of opensuse are you using? 2024-12-22T02:48:45 well it seems my system is hooked into the firstyear server in aussie. 2024-12-22T02:48:55 i don't think anyone in nz has a mirror 2024-12-22T02:49:09 There are nz mirrors, but only for leap and some bits of tw iirc. 2024-12-22T02:49:32 oh, probably won't help me 2024-12-22T02:49:39 i guess i'll keep trying 2024-12-22T02:49:49 jshand: The way it works is that zypper goes to mirrorcache-au.opensuse.org, and if a mirror like in nz has the file, you're sent there first. If _no mirrors_ in the region have the file, you fall back to mirror.fy.id.au as it can sync anything 2024-12-22T02:49:58 jshand: What _version of opensuse do you use_. 2024-12-22T02:50:25 And send me the output of "zypper lr" 2024-12-22T02:51:00 i am using opensuse tumbleweed 2024-12-22T02:51:55 So one of the only tw mirrors in the region is in nz. 2024-12-22T02:51:58 So you should be sent there. 2024-12-22T02:52:52 https://paste.opensuse.org/918db8f1c8ab 2024-12-22T02:53:21 jshand: Right, so when you say "mirror.fy.id.au" is slow, how are you seeing that? 2024-12-22T02:54:21 how do i get that information ie uris? 2024-12-22T02:54:37 it seems to have fixed itself, it took a good 4 hours 2024-12-22T02:55:03 How did you identify there was a problem in the first place? What were you seeing that made you think it was mirror.fy.id.au that was slow? 2024-12-22T02:55:16 Like i want to know what you saw so I can actually work out what the problem is. 2024-12-22T02:57:12 all i saw from the command line was zypper dup doing it's thing and getting no updates 2024-12-22T02:57:22 no errors persey 2024-12-22T02:59:20 jshand: It's better to work out and gather evidence, though I'll admin, zypper makes that hard. I think you need "zypper -v dup" to see the mirror it's using, and even then I think that can "lie" too because of how zypper does it's parallel downloads .... wireshark/tcpdump have sadly been the best ways to actually see what's up. 2024-12-22T03:03:09 jshand: run "time zypper -vvv ref -f" how long does that take? 2024-12-22T03:09:23 https://paste.opensuse.org/cdbc7d4771e4 2024-12-22T03:11:59 jshand: do you need the debug repo enabled? 2024-12-22T03:12:17 jshand: Mine takes 15 seconds here on cdn... 2024-12-22T03:12:47 oh i use the debug repo for debugging when apps crash 2024-12-22T03:13:15 jshand: so if you disable, does it speed up, only enable when needed 2024-12-22T03:14:09 yes it does 2024-12-22T03:17:19 malcolmlewis: Blocks updates. 2024-12-22T03:17:21 That causes issues 2024-12-22T03:17:28 jshand: would suggest that as it's going elswhere for meta ddata 2024-12-22T03:17:48 strange isn't it. 2024-12-22T03:18:02 No, debuginfo isn't often synced to mirrors. 2024-12-22T03:18:07 Firstyear (Firstyear): so can you mirror the debug stuff too? 2024-12-22T03:18:13 I do 2024-12-22T03:18:29 Those repos happen to also have really large metadata etc. 2024-12-22T03:18:42 And a lot of the cost isn't the dl, but zyppers slow local processing of the metadata. 2024-12-22T03:19:15 Like here on my home network I have a 10gbit network, with my internal mirror on 10gbit. If everything is hot, and synced, there is 0 download time but zypper still takes forever to ref because it's so slow to process the metadata. 2024-12-22T03:20:52 "zypper ref --force 13.32s user 1.83s system 61% cpu 24.597 total" 2024-12-22T03:20:58 Almost all of that 25 seconds is zypper 2024-12-22T03:21:01 Not network. 2024-12-22T03:21:38 The other thing is that for jshand they'll still need to go via zypper for which repos to use etc, and that adds redirection and latency costs because zypper opens and closes a connection for every request. 2024-12-22T03:21:55 * mirrorcache 2024-12-22T03:22:47 So that adds a ton of time. 2024-12-22T03:23:56 So looks like a "It is what is is" thing... 2024-12-22T03:25:50 More that there are many factors involved, and zypper is a lot of them. 2024-12-22T03:26:00 I also assure you its better than it was 2024-12-22T03:26:08 It used to take more than an hour to do a tw install in australia 2024-12-22T03:26:10 now it's 20 minutes. 2024-12-22T03:26:28 Because I sat down, profiled this all, raised issues, was ignored for months, then fixed it myself. 2024-12-22T03:28:26 like why I spend a bunch of my own money to run mirrorcache's in areas outsid of europe. 2024-12-22T03:31:57 malcolmlewis: There are quite a few stories of german SUSE employees coming to Australia, doing a zypper ref/dup and going "what the fuck, why is it that slow" and the australians turn around and say "this is a good day, it's quite fast". The difference is really staggering. 2024-12-22T03:32:53 Today the fact that it only takes a minute to zypper ref is absolutely amazing 2024-12-22T03:33:02 It used to be 3 or 4 minutes. 2024-12-22T03:34:16 Firstyear (Firstyear): the cdn network it trucking along here... 2024-12-22T03:34:26 cdn is slower in au than not. 2024-12-22T03:34:33 I tested it extensively when it was annouced. 2024-12-22T03:36:17 Firstyear (Firstyear): I only run one Tumbleweed machine, well Aeon and MicroOS, the rest are Leap systems 2024-12-22T03:36:27 I can sit down and retest it sometime. 2024-12-22T03:36:56 Leap has it's own issues, like drpms being slower than just downloading the packages _even here_ in aus/nz where dl speeds are terrible. 2024-12-22T03:37:03 cool 2024-12-22T03:37:31 jshand: should be updated now....? 2024-12-22T03:38:08 yeah, i got it all successfully. thanks heaps. i guess we are not europe lol 2024-12-22T03:38:14 Tumbleweed/Aeon and MicroOS/Hyprland all updated, nvidia drivers rebuilt etc 2024-12-22T03:38:23 jshand: If you want to skip all the geoip chekcs, "sed -i -E 's/https?:\/\/download.opensuse.org/https:\/\/mirrorcache-au.opensuse.org/g' /etc/zypp/repos.d/*.repo " 2024-12-22T03:38:35 That will change your mirrors to all be going via the australia redirector. 2024-12-22T03:38:55 jshand: That's the underlying theme of this. If you aren't in europe, you don't matter. :( 2024-12-22T03:39:11 I'm in the US... 2024-12-22T03:39:35 The US had tons of it's own issues too. I also worked to help fix them. 2024-12-22T03:39:45 I run two mirror redirectors in us to help with your latency issues too 2024-12-22T03:40:01 I also wrote a tool called mirrorsorcerer to let your machine automatically find the nearest mirror redirector and use that 2024-12-22T03:40:03 at least iso's download quick, around 2 minutes 2024-12-22T03:41:29 The US has a better start by simply having more population -> more mirrors to choose from 2024-12-22T03:42:02 Australia/nz are first, much much further away, and second, have the same land mass as US, but with only 30 million people, tops. 2024-12-22T03:42:33 So we have less mirrors, and further to "travel" when we need to download something even locally, let alone to sync to eu etc. 2024-12-22T03:42:54 malcolmlewis: What was bonkers in zypper would go to germany for every http request before, for every file and every package. 2024-12-22T03:43:01 this might be the wrong channel. how do i check for zombie processes 2024-12-22T03:43:15 Of an install of tw, from 1 hour of it, 31 minutes was simply _waiting for a redirection from europe_ 2024-12-22T03:43:47 jshand: ps aux | grep 'Z' 2024-12-22T03:47:15 yeah just found out. i have an issue [zypak-sandbox] 2024-12-22T03:47:29 that seems to be a zombie 2024-12-22T03:47:44 i do have flatpak installed running ferdium 2024-12-22T03:56:33 Firstyear (Firstyear): That's why I like MicroOS, just put the image onto the target medium, plug in my Combustion USB, boot, go make a coffee and all done... 2024-12-22T03:59:16 I wish it could be that simple 2024-12-22T03:59:24 But my issues with tech are a different problem. 2024-12-22T09:57:48 *** teepee_ is now known as teepee 2024-12-22T15:00:19 cboltz: try `salt mickey.infra.opensuse.org service.restart kanidm-unixd` 2024-12-22T15:01:06 the solution was more boring - it fixed itsself in the meantime 2024-12-22T15:01:21 also good. there is a poo for it 2024-12-22T15:01:44 I know, that's why I asked if you wanted to debug the broken state 2024-12-22T15:02:53 ah, thanks 2024-12-22T15:04:04 different topic - as far as I can tell, !2230 is ready for merging 2024-12-22T15:04:30 I didn't want to click "merge" for such a big change shortly before xmas, but I won't stop you ;-) 2024-12-22T15:45:51 thanks, I will check in a while 2024-12-22T20:13:24 *** teepee_ is now known as teepee 2024-12-22T20:16:07 FYI: I just deleted hundreds of non-member spam mails from commit@lists.o.o - and changed the rule for non-members to "reject" (was "hold") 2024-12-22T20:18:35 https://lists.opensuse.org/manage/lists/mirror.lists.opensuse.org/held_messages has (after deleting the spam) some "real" messages that are quite old, but might still be relevant for us (for example, mirror applications) 2024-12-22T20:19:25 can a mirror admin please have a look at them? (I'll happily add you as moderator to give you access.)