General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Juzu Juzu
DorianDotSlash
comments
Comments by "Juzu Juzu" (@juzujuzu4555) on "DorianDotSlash" channel.
Previous
1
Next
...
All
22:33 You don't need to know your CPU, just use -march=native and let the compiler find out your CPU and all the instructions it supports. That's the default option that Gentoo recommends and it can provide better results than selecting the architecture, though mostly it's the same thing. 24:12 Remember that compiling certain rare packages can take up almost 2GB per thread, at least when compiled with couple of threads and heavy optimization flags. So if compiling crashes, it most likely is because it run out of memory. But you can just try again with less threads without any problems caused to your installation.
158
@Doriandotslash Spidermonkey javascript engine is probably the most memory hungry package on the default desktop installation. Firefox and qtwebengine requires a ton of memory too. And qtwebengine takes the crown the compile time. And thanks for these videos. Someones Gentoo installation video made me try to install it myself. Hopefully many more start that journey because of your videos.
5
@shnawk6190 Installing Gentoo Linux can be hard, and the initial learning period which thankfully isn't that long. But using Gentoo Linux is as simple as pretty much any other Linux. Updating only takes longer, but just let it run on the background while you do something else and it's fine. I'm not trying to get you to install Gentoo, I just want to correct possible misconceptions. I still remember well how installing Gentoo felt and how complicated it seemed. And sure it was for the time being, but it's the scrolling compiler output that flashes fast, and learning the new package manager that makes it seem like it's complicated. After I changed one setting so that the compiler output doesn't show anymore, unless there's errors, it's pretty much exactly as using my other Linux computers. Good reasons to use Gentoo - 1. You want to learn about Linux. 2. You want the most amount of freedom to configure what your Linux contains and how it's configured. For example hardening it to make it as secure as possible. 3. You want to build modern Linux that runs as fast as possible. 4. You want your Linux to use zero day sources. Or mix and match zero day sources with rigorously tested stable sources. 5. You want to build Linux for esoteric hardware, or ancient hardware and have access to faster Linux computer that can do the compiling for you over the network. Thus you get the fastest and lightest Linux possible for that hardware.
3
If you don't have important reason to use lxde, I would advice against it. Install LXQt instead. That's as light and continuously developed. It also has metapackage on Gentoo, which should make installing it easier. And I think it's better nowadays in pretty much every way. But if you go with LXDE route, I would highly appreciate if you would comment here how much your system uses RAM when you are booted on the desktop.
2
@nichtgestalt Congratulations! I'm not expert with pulseaudio, but there are some things where you really need it. I personally had KDE too but maintaining it was too hard for my dual core machine so I switched to Mate. If you haven't already, I suggest becoming familiar with Gentoo's IRC channel. It's one of the friendliest places I know and you will get help for any sort of questions. Newbies are welcomed there.
2
Gentoo is awesome, though installing soystemd should be criminal act. Gentoo is best with lite desktops or with window managers. Gentoo is stable and amazing. After initial learning period it's hard to switch to anything else anymore. Gentoo testing branch with GentooLTO overlay, that's where the journey ends. Linux can't get better than that. But don't go straight to these, learn Gentoo first.
2
@Doriandotslash I had about half a decade of Linux experience before switching to Gentoo. That initial installation process forced me to learn almost as much new things that I knew before. Though this happened because I installed it on Virtualbox version that had some issues. I couldn't get things working, and naturally I thought it's because of Gentoo. I troubleshooted like crazy and learned a ton. Finally I tried different settings on Virtualbox, and now it started working. Later I installed Gentoo on my laptop. I had to use wifi for installation process, not the easiest thing. And getting bluetooth, power management, Qemu virtualization etc. working on that laptop was another learning experience. And finally I wanted to optimize everything to be as fast as possible. So I used testing branch to get GCC 10, GentooLTO overlay to get LTO and Graphite loop optimizations. And PGO and 0fast level for all packages, GentooLTO has exceptions on those packages that require them. I end this novel by saying I enjoyed the ride and found the same excitement on computing I had when I was child in late 80s playing with Commodore 64 and later with Amigas.
2
@Doriandotslash My problems with Virtualbox was because of Virtualbox bugs. Those got fixed in less than month from my installation. Otherwise I think majority will be fine by just following the wiki. And I have to say, Gentoo IRC channel is filled with the most helpful and kind people I have encountered anywhere. They are extremely nice towards beginners. This is a well known fact advertised by many.
2
@dengr1065 You can pass your -march=native flags to distcc. I don't remember it from the top of my head, but it was quite simple trick.
2
@axlslak Yes, I acknowledged that. As you pointed out, there's a way to use native locally for all the correct flags.
2
@ramosmanos What's the problem with installing sqlite?
2
@serge5046 With the latest kernel and software? I would love to see your kernel config. LXDE used to be really efficient, but XFCE having less than LXQt seems really odd. I don't know how Mate should stack up here. But I know having Virtualization Qemu/KVM, Bluetooth, Wifi and the rest have quite a big of impact on the memory requirements. Not that I really need many of those, but I just wanted to build Gentoo that supports everything my laptop offers. I kind of expect my binaries to be quite a lot bigger and more memory hungry because of using the most aggressive flags possible (though only those that allow the compiler to choose what to do). But thank you for this message, as I now have even more faith that building that totally minimalistic Gentoo for my moms ancient 32bit single core/thread Celeron laptop makes sense. With distcc of course.
1
@serge5046 I just checked, if I disable Mate's bluetooth applet, that saves 50MB, disabling BT from kernel would save some additional memory too. Perhaps not having 1080p background image would save 8MB. So Mate would take about 190MB with the aggressive optimization flags. Though LTO reduce the code size, others increase it usually by quite alot. With size based optimization I think it might be close to 150MB with Mate desktop and all the drivers + virtualization, except bluetooth. Thus I need to get that distcc service running so I can compile fully minimalistic 32bit Gentoos for my ancient hardware. 32bit reduces the size a little, desktop machines need less drivers, dropping virtualization helps, and actually with those systems it might be best to drop the whole loadable modules infra and just add everything to the kernel. Nothing makes me happier than maxed out optimizations with ancient but still usable hardware like Pentium 4 onward.
1
@maxsilvester1327 Thank you for this information. I didn't know about that flag. Is there any other options that experimental USE flag exposes on the kernel? Memory can run out on certain packages if you have only 1G per Thread of RAM. I had virtual machine with 4 threads and 4GB and compiling one package failed. It took me too much time to find the cause of why it failed to compile. On general I would just use all of my threads for compiling and if something fails to compile, then just use less threads for that specific package.
1
@kcfivetwelve In most cases even 16gb is enough for 16 threads. The fewer threads you have, the more likely it is that all of those threads use a lot of memory at the same time. But the more threads you have, the less likely it will become.
1
If you have SSD I wouldn't use swap at all on Gentoo. If your compiling runs out of memory, it starts to swap and utilize SSD at 100% speed. It's much better for compiler to run out of memory, then it crashes without causing any problems. If your SSD starts to swap at 100% it also makes everything unresponsive and you have to hard reset the system. Gentoo uses about 50mb of RAM, and 250mb with Mate Desktop and all drivers (wifi+Bluetooth) included. If you are not having other software running on the background, then swapping is useless. The amount of Gentoo's memory you can swap is minimal. In case you want to compile on the background while using other software, then I would rather lower the threads compiler is allowed to use. That saves memory and makes Gentoo more responsive while compiling.
1
Previous
1
Next
...
All