libera/#devuan/ Monday, 2023-02-06

ThadGHello, I am seeing some gui sluggishness and sometimes locking up and would like to have some pointers of where to look in logs or other places.  My suspicion is device drivers but not 100% sure.00:16
rwpThat's a very open ended question and suggestions can only be equally vague.00:17
rwpI most often see sluggish behavior when Firefox/Chromium are hogging all memory and tabs need to be closed to free up resources.00:17
rwpI also see sluggish behavior when DNS lookups are taking a moment to resolve and the application needs to wait for the answer.00:18
rwpI also see sluggish behavior when the I/O backplane has become saturated and reading data from storage is delayed in the pipeline.00:18
rwpFor a specific program one can sometimes figure out what is happening by running strace against it and seeing if it is pausing on a specific thing.00:19
ThadGI see this yes, when I start Firefox it seems... it affects the whole system.  And a likely culprit is indeed DNS lookups since I am in China, but happy to switch or verify DNS.00:20
debdogI had the case where the HDD (WD green) was going into power save mode and spinning it up sometimes caused micro-stutters. but that'd involve some programme requiring HDD access quite often.00:21
debdogback then WD provided a tool to modify the HDD's settings and I was able to set a different much hight time till spin down00:23
debdogs/hight/higher/00:25
rwpSome of those green drives can have hdparm -B 254 to reduce the standby to increase latency to acceptable levels.00:29
rwpI have also seen cheaper SSDs degrade in performance over time.  They will have sections which just read extremely slow.  Doing a disk exercise on them (read passes, read-write passes) can sometimes restore the even good performance of when they were new.  I blame bad cheap SSD firmware.00:31
debdogthat's interesting. I haven't had much experience with SDDs, these read-write passes will erase the data, right?00:40
rwpIf you write different data than what was there before then yes.  But if you write the same data then it will be the same data.00:43
rwpI do not know of a good free software program which can read storage and keep track of the speed of each block to diagnose which blocks need to be "kicked" in order to perform better.00:44
debdogok, I'll keep that in mind00:45
rwpAlso if TRIM is being used then it will notify the SSD storage that unused blocks are unused.  So one does not really want to mark those as used again by reading and writing everything.  But...  Given the presence of existing slowdown problems I will read and write every block on the SSD regardless.00:45
rwpI actually ran into a laptop just this last week that was exhibiting exactly this type of sluggish behavior.  An old T42 with an IDE SSD.  I did that to it and afterward it was suddenly able to boot fast again and run this dedicated application that it is used for.00:46
debdogwhich tool did you use to "read and write every block"?00:48
rwpI hesitate to mention "dd if=/dev/sda of=/dev/sda bs=1M" because it's just too scary.  Safer to read the disk to backup and then write it back.00:51
debdogok00:52
ThadGso suggestions to try to eliminate the locking up when Firefox is running?  change DNS to see what happens? some logs to monitor?01:00
rwpIf you suspect Firefox's use of DNS then check to see if DNS over HTTPS is set in the network settings.  Try toggling it to the opposite setting and testing.01:10
rwpGiven your location it might be the https used in DoH which is causing you problems.01:11
gnarfaceThadG: after you've disabled dns over https in firefox you could try running a local caching name resolver to further reduce latency from dns queries01:39
rwp+1 for a local caching nameserver.  I always run one.  I traditionally "apt-get install bind9" but "apt-get install unbound" is the new rising star.01:51
rwpIf we were not in #devuan I would need to caution that systemd-resolvd is buggy with regards to DNSSEC and should be avoided.01:52
gnarfacednsmasq does a good job too01:53
gnarfaceand can serve records from your /etc/hosts file01:53
gnarface(not that that's useful if you only have one computer, but there are situations where it can be useful, especially if you don't know how to setup bind9)01:54
gnarfacepersonally though i'm a fan of bind901:55
gnarfaceThadG: of course, if there is some sort of video driver problem it'd show up in your Xorg log02:39
gnarfaceit might not actually show up as an error necessarily, but we just need to know the model of your video device to know if it's picking the right driver02:40
ThadGall great suggestions. Thanks folks.  I'll start with optimizing DNS first and running a caching nameserver.  Then I'll move on checking Xorg logs.03:11
ThadGI need another suggestion on where I can read good authoritative information on setting up and running a VPN server stateside, as I have difficulty with a few paid VPN providers and figure I'd just run my own.  Azure seems really good for me so far (I can access all management tools without worrying about network connectivity), and likely would03:39
ThadGjust spinup and run the VPN server and a DoH resolver on that server.  But I need some good guides and not finding suitable ones with an eye towards Devuan.  Should I just flip the terms to "freebsd"?  I'm still not familiar with the various networking commands and tooling in Devuan just yet other than systemd isn't there (and why I choose03:39
ThadGDevuan).03:39
gnarfaceThadG: i was always a big fan of openvpn though it doesn't have as great of a rep as it used to... however it has a pretty thorough howto, not devuan specific but doesn't really need to be past just installing the devuan packages and skipping the build instructions04:30
gnarfacei think these days it's recommended to use wireguard instead but i don't know where the documentation for that is04:30
gnarface(they have both an open source website and a commercial service portal; you find the howto on the open source website)04:31
gnarfacesome people get confused about this but you do not need to use their commercial service to use their software04:32
gnarfacethe thing about wireguard is that it's supposed to be a lot easier to setup04:35
ThadGreading wireguard...yes! loving it... simple like SSH, both sides assumed to have each others public keys. exactly what I need.04:36
gnarfaceopenvpn configs can be hard to understand if you don't understand the underlying networking concepts04:36
gnarfacei liked that it had lots of flexibility though, but the last time i had to use it was before wireguard existed04:36
snorkWG lacks a lot of stuff that one might expect from a VPN solution.  For example, there is no IP address allocation built in to WG.  You are essentially building a static list of IPs as you build your WG network and there is not DHCP to help facilitate that.04:46
snorkIt also [as far as I know] does not have a way to add nodes without having the "hub" set its WG interface down and then back up again.  It is UDP and shouldn't matter much, but there is a gap.04:47
snorkWG also doesn't have any key distribution.  There is a shared key setup that can be used but there is still no easy way to manage keys (not that OpenVPN excels at this either).04:48
snorkThe AllowedIPs setting is also very important on clients and the documentation really isn't terribly clear about how to design those kinds of statements for different desired outcomes.04:49
onefangFor just a one to one VPN, some of that might not matter.04:49
snorkHaving said all that, WG is quick, requires little effort to config, and recovers well in "crappy or dynamic" network conditions.04:50
snorkDefinitely!  A very small WG network can be really easy to smash together in no-time.  CA?  What's a CA? :-)04:50
gnarfaceyea, the two hardest parts of openvpn are probably understanding bridging vs routing setups and how to make config files for them, and having to maintain a CA just for the VPN05:04
gnarfacei'd already had to deal with CAs for other purposes by that time so that helped me05:04
snorkUsing your favourite search engine to look for "openvpn in 5 minutes" should lead to a script that essentially sets up OpenVPN for you and deals with a lot of the CA side of things.  If you don't mind a little "black magic" in your VPN then that is also an option.05:06
* rrq uses rrqnet (for reasons :)05:13
Guest3560Hello there. I am looking for the pool2 and pool3 dvds and so on for offline install. For debian there is jigdo to create them. Sadly for devuan I could not find them. Where to find them?17:48
gnarfacefor ceres you mean?17:49
Guest3560For daedalus or in general17:49
gnarfaceah, i see, they are indeed not there17:50
Guest3560Pool1 you can download simply but not other ones. Is there no way to get them?17:51
gnarfacefsmithred, do you know? ^17:51
gnarfacemy first instinct would be to check git.devuan.org but i couldn't tell you any specifics17:51
gnarfacesome build script stuff is on there17:52
gnarfacethe stuff that's not made with refracta tools17:52
Guest3560https://www.devuan.org/gitlab-issues/devuan.devuan-project.23.html17:52
Guest3560But it is old and nothing since then so topic was there it seems17:53
gnarfacemaybe it's a space or build time constraint17:54
gnarfaceor bandwidth? they do have to sync whatever is up there to all the other servers17:54
gnarfacefsmithred would know17:55
gnarfacehang around17:55
Guest3560I will wait then. Thanks17:55
fsmithredThere may not be any pool isos for daedalus until it's stable17:56
fsmithredi.e. released17:56
fsmithredActually, there are pool isos for daedalus.17:58
Guest3560But there aren't some for chimera either.17:59
fsmithredyou want them for chimaera?17:59
Guest3560Just the pool1 which is existing for deadalus too17:59
Guest3560No for daedalus but where to find them for chimaera then?18:00
fsmithredhttps://mirror.leaseweb.com/devuan/devuan_chimaera/installer-iso/18:01
fsmithredhttps://mirror.leaseweb.com/devuan/devuan_daedalus/installer-iso/18:01
Guest3560Yes, but only pool1, which exists for daedalus already. But there are over 20 dvds normaly and in debian you have to create them and download them over jido18:02
fsmithredToday is Monday. Check again later and there will probably be new installer isos and pool isos.18:02
Guest3560https://www.debian.org/CD/jigdo-cd/18:03
Guest3560https://cdimage.debian.org/debian-cd/current/amd64/jigdo-dvd/18:03
fsmithredwhat about it?18:03
fsmithredThat's debian.18:03
Guest3560Here you see DVD2 till DVD19. That should be there for Devuan too.18:04
fsmithredit's not and there aren't plans for that.18:04
fsmithredif you want all the software in the repo, download the debian set and pick carefully.18:04
fsmithredthe pool isos contain stuff that ranks high on popularity contest but isn't in the installer dvd.18:05
Guest3560Okay thanks. Maybe would be nice to habe them for devuan too. They are only templates as I know.18:05
Guest3560Yes I know but for devuan they are missing maybe that could be changed18:07
gnarfacewell i suppose you could use the debian ones and just pin out systemd*18:08
gnarfacethen anything that's not gonna work will just refuse to install18:09
fsmithredpretty sure that would work fine18:09
gnarfacebut you might miss out on stuff that could be trivially rebuilt, which means you might want to get the sources as well...18:09
fsmithredGuest3560, do you know for sure that the software you want isn't on the devuan dvd?18:10
fsmithredtime for lunch. bbl.18:11
Guest3560Yes I want to have the full collection for offline backup. Some software is on DVD5 or DVD6. For Debian you also can buy the whole DVD collection for devuan it isn't possible.18:11
Guest3560Will idle here if someone knows or can be added for devuan too in next time18:13
behemothello guys, my job get necessary install mysql-workbench and i not get compile that, please help me ..18:34
gnarfaceshould be in the repos18:36
gnarface"apt-get install mysql-workbench"18:36
behemotnot working, package not found.18:38
djphisn't it a *deb package from the mysql / mariadb site?18:50
behemotno, the dependencies are broken, try to install it, but I couldn't, the system removes the package and it's like this in eternal lupe lol.19:00

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!