News for hackers. Stuff that matters.
Re:Best CPUs for Workstations by jcadam on Tuesday May 05, 2020 @08:24AM (#23079220)
Just built myself a home dev server based around a R9 3900X. Paired it with 64G of RAM, a 1TB NVMe and an RTX 2060, running CentOS 8. Whole build cost me a little under $1400. It sits, headless, in the corner of my office crunching away.

I ssh in from my XPS 13 running Fedora and use X forwarding to do work on it. It's so much faster than trying to do everything on an ultrabook. Not to mention quite a bit cheaper than a high-end laptop.

Re:Best CPUs for Workstations by benologist on Tuesday May 05, 2020 @08:28AM (#23079251)
Visual Studio Code has a seamless SSH extension for working like this too -

https://code.visualstudio.com/docs/remote/ssh

Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @12:07PM (#23081558)
Any editor can use sshfs.
Re:Best CPUs for Workstations by jedimastert on Tuesday May 05, 2020 @12:12PM (#23081604)
It's a little more tightly coupled than just a file system; it's essentially a fully headless mode.
Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @01:04PM (#23082215)
Tightly coupled is often not desirable.
Re:Best CPUs for Workstations by pkaye on Tuesday May 05, 2020 @01:36PM (#23082573)
the VSCode SSH extension runs the editing process remotely so it doesn't need to transfer the entire file.
Re:Best CPUs for Workstations by ubercow13 on Tuesday May 05, 2020 @01:59PM (#23082813)
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locally in memory. If the editing process is remote, every edit you make is going to involve round trips over the network? That sounds awful?
Re:Best CPUs for Workstations by streb-lo on Tuesday May 05, 2020 @03:57PM (#23084216)
If you're doing C++ in VSCode the C++ extension will use ripgrep to index your project. When using sshfs, rg runs on the local machine, causing sshfs to load your entire project which if it's large can really slow you down.

The VSCode remote extension installs extensions onto a VSCode remote client installed on the remote machine. So the C++ extensions spawns rg processes on the remote which is a lot faster.

Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @02:11PM (#23082952)
Maybe but folks have been using vim/ssh since the days of vi/telnet. It’s not a problem under normal conditions.
Re:Best CPUs for Workstations by pkaye on Tuesday May 05, 2020 @02:27PM (#23083114)
Its closer to vi over ssh.
Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @01:40PM (#23082623)
That could be helpful, text files are often tiny though.
Re:Best CPUs for Workstations by wegs on Tuesday May 05, 2020 @05:38PM (#23085389)
sshfs (and samba for that matter, even more so) can cause odd kernel behavior and crashes, unfortunately. They're great when network is 100% perfect, if you never suspend laptops, etc. If any of those assumptions go away, you've got a mess.
Re:Best CPUs for Workstations by NullPrefix on Tuesday May 05, 2020 @06:42PM (#23085988)
>odd kernel behavior and crashes

I was under the impression that sshfs is based on FUSE, which works in userspace.

Re:Best CPUs for Workstations by wegs on Tuesday May 05, 2020 @08:14PM (#23086599)
It is. That doesn't prevent bugs in FUSE itself.
Re:Best CPUs for Workstations by whalesalad on Tuesday May 05, 2020 @01:38PM (#23082595)
Please write a blog post detailing this full setup! I have been trying to do some form of this between macos and a linux host for some time now (to try and move as much compute off my MBP as possible) but it has never really worked well.
Re:Best CPUs for Workstations by trhway on Tuesday May 05, 2020 @04:02PM (#23084287)
over years i started to use vnc instead of X as it works better over WAN. Super simple setup. On linux host one just runs an in-memory Xvnc server. The session and running applications are all stay there no matter whether client connects or not. The client runs on any platform.
Re:Best CPUs for Workstations by jcadam on Tuesday May 05, 2020 @06:56PM (#23086097)
Xpra is kinda cool, gives you a more "persistent" experience with X forwarding.
Re:Best CPUs for Workstations by lliamander on Tuesday May 05, 2020 @02:09PM (#23082924)
That's pretty much my dream setup (except for the 2060, I have no need for anything more than a low-end GPU).

I think some may discount Ryzen 9 because it's technically not "HEDT", but the market boundaries have changed over time.

HEDT used to include all CPUs more $400 dollars, all of which shared the same socket (for a given generation). Mainstream was on a separate socket and all below $400.

However, Broadwell-E and Skylake-X moved the top end of the HEDT from $1K to $2K, which meant that HEDT spanned a huge segment.

What AMD did with Ryzen 9 and X570 was to take the middle segment of that HEDT market and make it it's own segment.

Re:Best CPUs for Workstations by greggyb on Tuesday May 05, 2020 @03:24PM (#23083801)
> What AMD did with Ryzen 9 and X570 was to take the middle segment of that HEDT market and make it it's own segment.

It did carve out a pricing segment there, but the really cool thing is that it's so compatible, backward and forward with other CPUs in the Ryzen family. There is huge upgrade potential.

It would be entirely reasonable to build a system around an R7, with the expectation that its workload will grow, and throw in a discounted 3950X in a year when Zen3 hits.

Re:Best CPUs for Workstations by backslashr on Tuesday May 05, 2020 @11:32AM (#23081113)
I've been using VS Code's SSH Extension for the code that is deployed on a laptop running Ubuntu that's older than my 2017 macbook air but sufficiently powerful. Thanks for mentioning the X forwarding.
Re:Best CPUs for Workstations by matthewaveryusa on Tuesday May 05, 2020 @11:18AM (#23080922)
you may want to try parsec for remoting if you have good connectivity. It's meant for gaming but I've been using it on my LAN as a replacement for VNC and it's fanastic
Re:Best CPUs for Workstations by jcadam on Tuesday May 05, 2020 @12:55PM (#23082099)
Yea, X Forwarding works fine for home LAN usage, but when I'm away from the house I probably ought to find something better (more performant). Was thinking of setting up VNC, but will have to check out parsec (hadn't heard of it) as well.
Re:Best CPUs for Workstations by 2OEH8eoCRo0 on Tuesday May 05, 2020 @02:02PM (#23082844)
I love your setup. This was my setup at my first software job. I would never actually use the keyboard and mouse of the machine but I would remote into it and forward X to my Windows PC.
Re:Best CPUs for Workstations by asdff on Wednesday May 06, 2020 @03:06PM (#23095003)
This is the way to go. Get something comfortable and with good battery life, these should be your only must haves. Then dump the rest into the server or some monthly bill for some compute nodes for all your heavy lifting. Use the right tools for the job, not a swiss army knife full of compromises.
Re:Best CPUs for Workstations by eximius on Tuesday May 05, 2020 @01:40PM (#23082622)
An XPS 13 isn't a high end laptop? What are you doing that requires that kind of power?

It sounds like an amazing build, but definitely not needed for most tasks. The XPS 13 seems a little wasteful in the setup. You could practically do it with a chromebook.

Re:Best CPUs for Workstations by greggyb on Tuesday May 05, 2020 @03:29PM (#23083871)
Any XPS 13 will be running a -U series low-power CPU. I would not consider any laptop high-end with regard to compute, unless it is using a -H series part, at least.

-U series (somehow, magically the same designation between AMD and Intel) will typically run ~15W, though this is configurable by the OEM (sometimes in BIOS?).

-H series (also, magically the same designation) will typically run ~45W, and this is also configurable by the OEM.

The increased power envelope of -H series typically allows higher base clocks. Turbo can sometimes be close between a 15W and a 45W chip, but a -H series will be able to maintain higher frequencies for longer, thanks to a superior thermal solution.

Re:Best CPUs for Workstations by texasbigdata on Tuesday May 05, 2020 @02:40PM (#23083281)
The 3gb of ram that the overnight chrome tabs are gobbling up.
Re:Best CPUs for Workstations by veets on Tuesday May 05, 2020 @11:23AM (#23080983)
How do you find the battery life on you XPS 13 with Fedora? I have a pretty old ThinkPad X1 running Ubuntu and while it works reasonably well I still find the battery life lacking (I am sure the age of the battery is a contributing factor here).
Re:Best CPUs for Workstations by jcadam on Tuesday May 05, 2020 @12:54PM (#23082080)
The XPS 13 I've found is pretty easy on the battery. However, I did opt for the 1080p screen. My understanding is that the 4k screen (which would be unreadable to my 40 year old eyes in any case) uses significantly more power.
Re:Best CPUs for Workstations by auggierose on Tuesday May 05, 2020 @02:09PM (#23082926)
You know that higher resolution just means that the text is sharper, not that the font is smaller, right? :-D
Re:Best CPUs for Workstations by frant-hartm on Tuesday May 05, 2020 @02:57PM (#23083479)
This is still unfortunately not true on Linux.
Re:Best CPUs for Workstations by loeg on Tuesday May 05, 2020 @03:18PM (#23083732)
Single-screen 2x scaling (about the easiest possible HiDPI option) seems to work okay, but then you're basically running 1080p, so why bother.