Re:Ubuntu Flavors Agree to Stop Using Flatpak
by VeninVidiaVicii on Wednesday February 22, 2023 @09:01AM
(#34895583)
As a computational biologist, I've been struggling with performance issues on Ubuntu for months, which have made it difficult to work efficiently. Despite Ubuntu's popularity in academia, R runs much slower on Ubuntu than on my personal computer running Arch. This has forced me to do my work at home, where I have better performance. It's disappointing that Ubuntu's limitations are often assumed to be universal to Linux in academia, which can be a problem for those who require a more efficient system. I've tried troubleshooting the issue, but haven't found a solution yet, but just chock it up to Ubuntu just being more and more terrible
[ Parent
| on HN ]
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by jhbadger on Wednesday February 22, 2023 @09:13AM
(#34895797)
Is it maybe that the default R binary on Ubuntu hasn't been optimized? Have you tried building R from source on Ubuntu?
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by zac_hudson on Wednesday February 22, 2023 @02:46PM
(#34901549)
I've personally tried building the software I need for source before, but getting all the BLAS/LAPACK and MPI libraries with it has been annoying and time consuming. Your supercomputer cluster may offer pre-built optimized binaries for your CPU. For mine, I've been using prebuilt software offered by compute canada over CVMFS[1]. I assume something similar is available for wherever you get your supercomputing resources from.
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by nequo on Wednesday February 22, 2023 @09:12AM
(#34895760)
> I've tried troubleshooting the issue, but haven't found a solution yet
That is very strange. I assume you’re not using the same hardware in your home computer. Without knowing your setup, it’s hard to say anything. Are you using the same BLAS and LAPACK libraries? You can check with `sessionInfo()`.
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by VeninVidiaVicii on Wednesday February 22, 2023 @09:52AM
(#34896458)
That’s a very interesting thought, and one I haven’t come across. How did you come up with this so fast?
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by nequo on Wednesday February 22, 2023 @10:03AM
(#34896627)
I read about it before.[1] There is also a BLAS library made by Nvidia that makes use of CUDA. This post is about how to hook it up to GNU Octave but it also works with R:
https://developer.nvidia.com/blog/drop-in-acceleration-gnu-o...
What sibling says about compiling R on your work computer so that it can make full use of your CPU can help too. I am curious if that closes the performance gap for you.
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by VeninVidiaVicii on Wednesday February 22, 2023 @12:47PM
(#34899556)
I’ll give it a shot when I make it back to campus. I’m snowed in at home, but I’ll let you know soon. Also, this really does look like the issue. Thanks for the insightful comments.
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by VeninVidiaVicii on Monday February 27, 2023 @12:15PM
(#34959066)
These tips speed up my Arch Linux R even more, but my Ubuntu setup is still just as slow, even with these optimizations. Somewhere along the journey I did see that Xeons have problems with R, but I can't seem to find where I saw that. Darn.
Re:Ubuntu Flavors Agree to Stop Using Flatpak
by wankle on Wednesday February 22, 2023 @09:20AM
(#34895901)
> I've been struggling with performance issues on Ubuntu for months
I've run Ubuntu on various hardware and in VM's since 2006 running a wide variety of applications, there are no performance issues I've seen. Perhaps R is different to all other software I've run (which is a lot).