News for hackers. Stuff that matters.
Re:Linux Desktop on Apple Silicon/M1 in Practice by cozzyd on Wednesday March 03, 2021 @12:56AM (#26325265)
I imagine memory will be quite constrained here for a lot of M1 systems.
Re:Linux Desktop on Apple Silicon/M1 in Practice by GeekyBear on Wednesday March 03, 2021 @10:52AM (#26329985)
The M1x benchmarks that recently leaked show that it supports 32 Gigs of RAM, has twice the number of big CPU cores, and twice the GPU cores.

https://www.tomsguide.com/news/macbook-pro-m1x-benchmarks-ju...

It should be adequate for a non-entry level laptop.

One of the fairly accurate Apple leakers, Jon Prosser, has said that one of his proven sources has informed him that the leak is legit.

Re:Linux Desktop on Apple Silicon/M1 in Practice by skohan on Wednesday March 03, 2021 @11:38AM (#26330784)
How does the current M1's graphics performance compare to, say, a mid-range NVIDIA laptop GPU?
Re:Linux Desktop on Apple Silicon/M1 in Practice by Joeri on Wednesday March 03, 2021 @12:04PM (#26331246)
It is 30% to 50% slower than a 1050ti according to https://ikarios.wordpress.com/2021/01/09/comparing-a-macbook...

That dovetails with my own experiences. I installed tomb raider on my m1 air, and while it was playable i was not impressed with its graphical abilities. The m1 is great for integrated graphics, but not on par with dedicated graphics. CPU-wise it is the fastest computer I have though, noticeably faster than the i5 9600K in my desktop.

Re:Linux Desktop on Apple Silicon/M1 in Practice by skohan on Wednesday March 03, 2021 @12:13PM (#26331379)
Thanks - so it sounds like a 100% speedup would put it into "decent" territory
Re:Linux Desktop on Apple Silicon/M1 in Practice by GeekyBear on Wednesday March 03, 2021 @02:33PM (#26333202)
The Apples to Apples comparison (if you will) is to other integrated GPUs.

>The first Apple-built GPU for a Mac is significantly faster than any integrated GPU we’ve been able to get our hands on, and will no doubt set a new high bar for GPU performance in a laptop. Based on Apple’s own die shots, it’s clear that they spent a sizable portion of the M1’s die on the GPU and associated hardware, and the payoff is a GPU that can rival even low-end discrete GPUs.

https://www.anandtech.com/show/16252/mac-mini-apple-m1-teste...

Re:Linux Desktop on Apple Silicon/M1 in Practice by mekpro on Wednesday March 03, 2021 @12:08PM (#26331285)
A bit slower than GTX 1050 mobile
Re:Linux Desktop on Apple Silicon/M1 in Practice by pengaru on Wednesday March 03, 2021 @01:57AM (#26325525)
> I imagine memory will be quite constrained here for a lot of M1 systems.

No worries, the storage is fast enough to stand-in for RAM via swap! You always wanted your RAM to be a wear item, right?

Re:Linux Desktop on Apple Silicon/M1 in Practice by csunbird on Wednesday March 03, 2021 @06:59AM (#26327264)
Definitely, especially when it is soldered to the motherboard or into the chip itself. /s
Re:Linux Desktop on Apple Silicon/M1 in Practice by ece on Wednesday March 03, 2021 @10:36AM (#26329713)
Computers increase productivity, so E-Waste is no big deal. /s
Re:Linux Desktop on Apple Silicon/M1 in Practice by londons_explore on Wednesday March 03, 2021 @09:39AM (#26328852)
zswap helps a lot. One can get ~30% compression rates with a not-too-big performance impact.
Re:Linux Desktop on Apple Silicon/M1 in Practice by aodaki on Wednesday March 03, 2021 @05:31AM (#26326728)
Indeed, it is. 16GB is too constrained even for native Linux desktop environment.
Re:Linux Desktop on Apple Silicon/M1 in Practice by Toutouxc on Wednesday March 03, 2021 @05:54AM (#26326854)
What the hell, enough with this! My main dev machine until a few months ago was a Dell laptop with 8 GB of RAM on Ubuntu. I ran RubyMine on it all day, some Sublime, Spotify, Slack, MariaDB, Thunderbird, LibreOffice, and I had no problems whatsoever. The only reason it ever ran out of RAM was a memory leak in Firefox.
Re:Linux Desktop on Apple Silicon/M1 in Practice by lasagnaphil on Wednesday March 03, 2021 @06:25AM (#26327031)
Things really go haywire when you are developing C++ with clangd (the de-facto code analyzer for Visual Studio Code, CLion, etc...). It sometimes takes over 8 gigs of ram for just the editor. Also it takes a ridiculous amount of memory to just compile your code, especially if you're using Eigen.
Re:Linux Desktop on Apple Silicon/M1 in Practice by mixmastamyk on Wednesday March 03, 2021 @02:52PM (#26333471)
Indeed, as mentioned before, I used to "surf the web" in the 90s with 8MB of RAM. :-)

8GB is plenty for normal work, my current 16GB is plenty for development work including a 4GB Windows 10 VM running on top of Linux.

Re:Linux Desktop on Apple Silicon/M1 in Practice by _gqhf on Wednesday March 03, 2021 @07:06AM (#26327308)
That's good for you and I'm glad you're happy but for some of us, considering the work with are doing, sometimes even 32GB is not really enough. Different people, different needs.
Re:Linux Desktop on Apple Silicon/M1 in Practice by Toutouxc on Wednesday March 03, 2021 @07:38AM (#26327556)
That's fine, but people like these are mostly outliers in the dev community, they exist on Linux, Windows and even macOS and they definitely KNOW perfectly well what their requirements are and why.

The post I was replying to said something very different and much weirder.

Re:Linux Desktop on Apple Silicon/M1 in Practice by skohan on Wednesday March 03, 2021 @07:50AM (#26327655)
What do you need 32GB for? Video editing? ML training on CPU? I have to imagine this is a minority.
Re:Linux Desktop on Apple Silicon/M1 in Practice by OldHand2018 on Wednesday March 03, 2021 @08:21AM (#26327921)
If someone needs 32GB then they need 32GB.

The M1 is Apple’s low-end chip, currently available only on their cheapest computers. It’s like complaining that a Corolla can’t keep up with a Ferrari on a race track. The most charitable interpretation is that the person doesn’t understand the market position of the two items.

Re:Linux Desktop on Apple Silicon/M1 in Practice by skohan on Wednesday March 03, 2021 @08:48AM (#26328205)
I’m just asking what would be a use case where you would actually need this
Re:Linux Desktop on Apple Silicon/M1 in Practice by macNchz on Wednesday March 03, 2021 @09:26AM (#26328666)
I find it easy to sneak up on 16gb of memory when running basic apps (editor, bunch of browser tabs, zoom, spotify) plus a complete environment for a mid sized web app (multiple services, dbs, message queue, caches, js bundler, workers etc), especially if I’m running tests and have mobile device VMs up. Pretty cheap insurance over the life of a machine to get 32gb of RAM and never have to think about it.
Re:Linux Desktop on Apple Silicon/M1 in Practice by foldr on Wednesday March 03, 2021 @12:09PM (#26331314)
Right, but that’s what swap is for. It doesn’t necessarily mean that you need more than 16GB.
Re:Linux Desktop on Apple Silicon/M1 in Practice by macNchz on Wednesday March 03, 2021 @03:07PM (#26333691)
Perhaps you're correct that I don't need it in the sense that I only very occasionally find myself with a dataset or something that doesn't fit in memory, and could just run a high memory cloud instance for a bit to process it.

Even still, my experience of desktop Linux under memory pressure has been frustrating, even with fast SSDs, and overspeccing the memory is an inexpensive guarantee that my system will never start thrashing during an important screenshare demo or something, so it's an obvious choice if I'm shopping for a new computer.

When I built this computer last year the cost difference between 16 and 32GB was like $40...easy to justify a 2-3% premium on the overall cost of the machine to never have to give a second thought to conserving memory. That said, Apple charges $400 for the same upgrade (in their machines that support 32GB), so the calculus there is a bit different.

Re:Linux Desktop on Apple Silicon/M1 in Practice by foldr on Wednesday March 03, 2021 @04:43PM (#26335053)
Desktop Linux tends to be a bit of a memory hog compared to MacOS. I think a lot of Linux users would be surprised how usable even the 8GB macs are for most tasks.
Re:Linux Desktop on Apple Silicon/M1 in Practice by OldHand2018 on Wednesday March 03, 2021 @09:12AM (#26328505)
My work desktop is 32GB and it falls over any time I try to create really big R data sets for others. I have to use a cloud machine with 64GB, and I run that out of memory most of the time when trying to optimize the production pipeline. They refuse to give me anything larger, so that's my upper limit. If anyone knows how to create giant .rds files without storing everything in memory first, I'd love to hear it.
Re:Linux Desktop on Apple Silicon/M1 in Practice by brokenmachine on Wednesday March 03, 2021 @09:50PM (#26338017)
Virtual Machines.

Or a web browser with a lot of tabs.

Re:Linux Desktop on Apple Silicon/M1 in Practice by emilecantin on Wednesday March 03, 2021 @10:33AM (#26329655)
I never close Chrome tabs.
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:32AM (#26330672)
That's fine, it's not like it keeps them all open, i've had a couple hundred tabs open in Firefox while researching a project using tree style tab to organize them. Modern browsers cache pages to disk after a certain high water mark. People actually seem to think all those tabs stay in memory.
Re:Linux Desktop on Apple Silicon/M1 in Practice by emilecantin on Wednesday March 03, 2021 @12:21PM (#26331493)
It was meant slightly in jest; but looking at Activity Monitor on my 32GB RAM Macbook Pro, it looks like I'm currently using ~28GB. I have Docker & a few Node.js processes (webpack builds, typescript compiler, language server, etc) taking about ~10GB between them, and then a sea of "Google Chrome Helper (Renderer)" processes each taking between 100 and 900MB. There are at least 20 of these, and then also the usual suspects with Slack, Skype (yes), Finder, etc.

Honestly, I could probably do with 16GB right now, but I'm planning on keeping this machine for at least 5 years; it was worth the few hundred bucks extra to future-proof it.

Re:Linux Desktop on Apple Silicon/M1 in Practice by foldr on Wednesday March 03, 2021 @12:28PM (#26331621)
Browsers will quickly eat up all of your available RAM if you open enough tabs. The thing is, if you had less RAM, they'd be keeping fewer tabs alive in RAM. So you can't really infer from "I'm using X amount of RAM now" to "I need at least X amount of RAM". If you upgraded to 64GB you'd probably end up 'using' a lot more than 28GB for the exact same workflow.
Re:Linux Desktop on Apple Silicon/M1 in Practice by mixmastamyk on Wednesday March 03, 2021 @02:59PM (#26333584)
Simply open a blank page, quit the browser and restart it. Now, only load the two or three page/sites you really need. Simple as that to bring mem use under 500MB, with Firefox at least. Repeat this once a day.

I personally close my browser at night and load it in the morning.

Re:Linux Desktop on Apple Silicon/M1 in Practice by emilecantin on Wednesday March 03, 2021 @12:38PM (#26331772)
Oh yeah, definitely! I was just RAM-constrained on my previous machine (8GB) when running Docker workloads, so I made sure to future-proof this one.
Re:Linux Desktop on Apple Silicon/M1 in Practice by skohan on Wednesday March 03, 2021 @12:52PM (#26331973)
re. the "usual suspects", I got an M1 air late last year, and I've decided to keep it completely separate from my work laptop, so all it has installed is basically firefox, a couple of code editors, and whatever came with it. It absolutely screams compared to my other laptop, but I wonder how much of that is the M1 processor, and how much of it is because I don't have all this garbage running all the time.
Re:Linux Desktop on Apple Silicon/M1 in Practice by kllrnohj on Wednesday March 03, 2021 @02:20PM (#26333065)
Apple brands one of these machines as a "Pro" system and previously offered 32Gb in that model's option range.

The person isn't the one that's failing to understand the market position of the two items, Apple is the one that failed to brand it appropriately. It should have been a Macbook Air & Macbook, not a Macbook Pro.

Although realistically at this point "Pro" has lost nearly all meaning in Apple's lineup. It's like an R badge on a car. Used to mean something specific, now just means a generically higher premium option.

Re:Linux Desktop on Apple Silicon/M1 in Practice by deergomoo on Wednesday March 03, 2021 @05:24PM (#26335619)
> Apple brands one of these machines as a "Pro" system and previously offered 32Gb in that model's option range.

They still do. The Intel, 4-port, 13” MacBook Pro is still available, and can be configured with 32GB of RAM. I don’t think it would be a sensible purchase at this point though.

That 2-port Pro has no reason to exist IMO. Even on Intel it used a chip with a TDP closer to the Air than the 4-port models; now on ARM they’re using the exact same part. Yeah it has a fan but most workloads will never turn the thing on.

Re:Linux Desktop on Apple Silicon/M1 in Practice by bluedino on Wednesday March 03, 2021 @09:42AM (#26328902)
>> What do you need 32GB for?

Massive projects. Or a couple VM's.

The first laptop I saw running a VM was a Dell Precision M50 (?), it was 2" thick and almost 10lbs. It had something ridiculous (at the the time) like 1 or 1.5GB of RAM.

A sales guy was demoing a product to us, and it spun up a Windows 2000 VM for IIS and another for SQL server, it probably took 10 minutes to get started but he could then demo the app through the browser. Sounds silly but it worked.

"But can't you just run it on a server somewhere"

Yes. That'd be cheaper and faster. But at this high end of the market, it might make more sense for some people.

Re:Linux Desktop on Apple Silicon/M1 in Practice by LawnGnome on Wednesday March 03, 2021 @12:44PM (#26331855)
I work on a medium-to-large sized project that has a Go backend and a React/TypeScript frontend. Having our full development environment running (a handful of Go processes, Webpack, PostgreSQL, Redis, an indexing server, and probably other stuff I'm forgetting) and trying to edit code in both simultaneously (so having LSP servers running for both Go and TypeScript) is usually enough to cause my 16 GB laptop to swap heavily. It's not a pleasant experience: think multi-second UI lockups, music skipping, that kind of thing.

So, realistically, at this point I need a 32 GB machine to effectively do my job. Minority? Sure. But I think there are enough people in my boat that it's a legitimate market to have an option for.

Re:Linux Desktop on Apple Silicon/M1 in Practice by Moto7451 on Wednesday March 03, 2021 @09:11AM (#26328476)
Not the OP, but I fill 32GB pretty decently when I run my work’s customer facing web stack, database server, ancillary services, and a couple search engine instances. Prior to moving to locally hosted containers my main memory gripe was Electron. I much prefer having all of my development localized though. It’s a lot closer to the good parts of when I wrote “shrink wrapped” desktop software.
Re:Linux Desktop on Apple Silicon/M1 in Practice by immigrantsheep on Saturday March 06, 2021 @04:33PM (#26370710)
Run and compile very big C++/.net applications and big scenes in Unreal Engine and Houdini.

edit: I love how I got downvoted because my work can't fit into a toy Mac M1

Re:Linux Desktop on Apple Silicon/M1 in Practice by jhoechtl on Wednesday March 03, 2021 @11:25AM (#26330554)
Running a Filecoin full node. Mind you, not mining, just verifying.

https://docs.filecoin.io/get-started/lotus/installation/#min...

Re:Linux Desktop on Apple Silicon/M1 in Practice by tinus_hn on Wednesday March 03, 2021 @01:18PM (#26332349)
Somehow if you have that kind of memory it tends to fill up.
Re:Linux Desktop on Apple Silicon/M1 in Practice by tapia on Wednesday March 03, 2021 @07:08AM (#26327322)
Too many electron apps? :P
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:34AM (#26330707)
Boy isn't that the truth. I actively avoid them but sometimes you just can't like with signal-desktop. I actually have to keep it running because I don't want to reach for my phone every 10 minutes. Something as simple as that interface doesn't need electron but oh well. Maybe a lite version with just text and contacts would be acceptable. I don't need stickers, gifs and emojis.
Re:Linux Desktop on Apple Silicon/M1 in Practice by coldtea on Wednesday March 03, 2021 @06:02AM (#26326898)
Is it? Up until now most devs still go with 16 or even 8 GB laptops. 32GB laptops are far between (Macs or not), and much fewer people use desktops...

And we used to run Vmware with Windows (on Linux) or Linux (on Windows) in 2005 just fine, on laptops with a couple GB at best...

Dozens of devs I know in a company I work with have 8GB Macs (and 2-3 years old at that), and run Vagrant and Docker with no issue. And those are mostly Airs with shared GPU too...

I think people with 32GB laptops hugely overestimate how many other devs also are on 32GB...

Re:Linux Desktop on Apple Silicon/M1 in Practice by TheRealDunkirk on Wednesday March 03, 2021 @09:05AM (#26328410)
I have a 2019 MBP with 32GB of RAM. I bought it thinking that I would be running a Windows VM under Parallels, on which I would then let my company install the execrable Microsoft "mobile iron" access control. (You know, the one where they can wipe the machine remotely.) But then they changed so that even machines with this enabled cannot access the company resources on Azure. It must be one of their own machines. (So what's the freaking point?) Anyway, if it would have worked out, that's definitely a use case for more than 16.
Re:Linux Desktop on Apple Silicon/M1 in Practice by GrinningFool on Wednesday March 03, 2021 @02:36PM (#26333250)
> no issue.

Could this be because they don't understand how much faster it can be -- the slowness is an accepted cost of doing work?

I've recently run virtualbox/vagrant/docker on an air from ~3 years ago, and it's painfully slow compared to my 3-yo system with 32GB RAM. It works perfectly fine, but it's slow.

> I think people with 32GB laptops

That may be true. It may also be true that people with 8GB laptops vastly underestimate the benefit of having more memory available for development workloads.

Re:Linux Desktop on Apple Silicon/M1 in Practice by vetinari on Wednesday March 03, 2021 @05:46AM (#26326813)
Linux desktop environment runs fine with 4GB.
Re:Linux Desktop on Apple Silicon/M1 in Practice by gspr on Wednesday March 03, 2021 @06:27AM (#26327048)
I think the people who claim that 16 GB isn't enough are insane, but it should be said: at 4 GB it does become a bit problematic to both keep browsers with a bunch of tabs open and do other things smoothly. If we keep modern website hogs out of the picture, I completely agree with you.

I tally about 500-1000 MB doing my job – if I can close the browsers that I do admittedly need to read documentation.

Re:Linux Desktop on Apple Silicon/M1 in Practice by anthk on Wednesday March 03, 2021 @08:27AM (#26327990)
2GB here, Chromium under OpenBSD with cwm(1).

my ~/.config/chromium-flags.conf file:

        --ignore-gpu-blocklist
        --enable-gpu-rasterization
        #--enable-zero-copy
        --disable-sync-preferences
        --disable-reading-from-canvas
        --disable-smooth-scrolling
        --wm-window-animations-disabled
        --enable-low-end-device-mode
Re:Linux Desktop on Apple Silicon/M1 in Practice by matwood on Wednesday March 03, 2021 @06:35AM (#26327099)
> I think the people who claim that 16 GB isn't enough are insane

The problem is containers. Some development workflows appear to require running a container for every piece of software needed, and that adds up (and feels incredibly wasteful).

None of my development workflow requires containers locally, so I get by just fine with 16gb.

Re:Linux Desktop on Apple Silicon/M1 in Practice by gspr on Wednesday March 03, 2021 @06:51AM (#26327231)
I wonder when the pendulum will swing back and people will stop this insanity. I can already picture the buzzwords people will invent to describe "apps running on the OS itself".
Re:Linux Desktop on Apple Silicon/M1 in Practice by hnedeotes on Wednesday March 03, 2021 @10:32AM (#26329649)
On the other hand it's no insanity to run millions of lines of code in a computer, connected to the internet and hopefully sharing all the projects you need to work with and dependencies you need to make them work, with full access to your filesystem, usually requiring administrator rights to be installed or even used.

This would all be needless if there was an OS that allowed you to switch to another "env" wiping the RAM in the process (like, storing a snapshot of it for when you switch back), with guaranteed isolation at the filesystem level (perhaps able to still read-only link into common libs), able to install things without touching other "envs". If you're working in any webdev related environment, that is itself the definition of insanity.

It's like buying a hammer from the carpenter at the end of the road and giving access to all your house to him in the process, including your wife. Everything becomes a nail.

Re:Linux Desktop on Apple Silicon/M1 in Practice by gspr on Wednesday March 03, 2021 @10:48AM (#26329913)
Maybe I'm just a simplistic person, but classical Linux distributions make this problem non-existing for 99% of what goes on in my world.

Their role is precisely to orchestrate the cooperation and interdepndency of those millions of lines of code. I don't understand why people have started turning those distros into glorified delivery vehicles for containers.

Re:Linux Desktop on Apple Silicon/M1 in Practice by hnedeotes on Wednesday March 03, 2021 @11:07AM (#26330253)
Simplistic is actually good - but I don't think that any (?) of the available current OSes is able to contain a program that can run once as administrator right? If I'm not recalling it incorrectly, BSD jails, linux cgroups, user filesystem permission, docker, vm's - and that's at the surface.
Re:Linux Desktop on Apple Silicon/M1 in Practice by dmytrish on Wednesday March 03, 2021 @09:36AM (#26328813)
"A bare-OS application" sounds almost as cool as "bare-metal".
Re:Linux Desktop on Apple Silicon/M1 in Practice by UweSchmidt on Wednesday March 03, 2021 @09:15AM (#26328530)
That would require people to clean up. Sometimes I squint at the installation requirements and then head over to hub.docker.com. I think it will get worse (i.e. more layers on top) before it gets better.
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:39AM (#26330796)
Yeah when you see "install this docker" OR "follow this 10,000 line install and compile guide" and then have to explain to your boss what you've been up to today.
Re:Linux Desktop on Apple Silicon/M1 in Practice by hnedeotes on Wednesday March 03, 2021 @10:16AM (#26329379)
Yeah, containers or VM's up the count indeed, but still. 2 Parallels (test version for m1) VMs running server ubuntu, 1 with 2 ssh connections, for X and tunnelling, running emacs into my desktop, running a web server with repl and environment, other running Postgresql. Safari with 8 tabs open, 4 terminal windows, Xquartz, tells me the biggest memory footprint is the vm with emacs/server/repl, at 3.9GB followed by the other VM at 2.8GB, but the overall used mem says 6GB used(?).

From the tabs Gmail was pointing to +1GB - a browser email client consuming +1/3 of the memory a VM running an OS plus a database.

I sometimes have another VM, another 2 ssh conns, more tabs open including youtube and never noticed any slow/sluggish behaviour.

I also feel like running VMs is wasteful, but it seems we are not able to create OSes with proper native tools for isolation.

Re:Linux Desktop on Apple Silicon/M1 in Practice by yjftsjthsd-h on Wednesday March 03, 2021 @10:06AM (#26329265)
Why would containers do anything to memory requirements? I guess you can't share libraries, but otherwise I don't see why memory use should be any different running the same process in a container or not.
Re:Linux Desktop on Apple Silicon/M1 in Practice by ogre_codes on Wednesday March 03, 2021 @12:01PM (#26331191)
> The problem is containers.

Even this makes little sense unless your containers are really poorly sized. I used to run a mini Kubernetes cluster on my desktop with 6 nodes. Some of them running big Java projects, Postgres, Elastisearch, and Ruby. And I still had enough memory to run Rubymine or IntelliJ along with Slack and whatever other local stuff I needed.

Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:36AM (#26330757)
tab discard extensions go a long way toward keeping browsers under control, just pin the tabs that you absolutely can't wait 3 seconds for them to reload or because you need notifications from them.
Re:Linux Desktop on Apple Silicon/M1 in Practice by Zardoz84 on Wednesday March 03, 2021 @07:44AM (#26327611)
Linux desktop environment runs fine with 2GB
Re:Linux Desktop on Apple Silicon/M1 in Practice by NullPrefix on Wednesday March 03, 2021 @07:27AM (#26327471)
Can confirm, my VMs default to 4GB of memory and run just fine.
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:35AM (#26330727)
Yeah but throw in firefox or chrome and some electron apps and your processor will be crying and your memory starting to overflow.
Re:Linux Desktop on Apple Silicon/M1 in Practice by ekianjo on Wednesday March 03, 2021 @07:13AM (#26327365)
Good luck compiling large sources on 4gb
Re:Linux Desktop on Apple Silicon/M1 in Practice by vetinari on Wednesday March 03, 2021 @07:37AM (#26327549)
Since when compiling large sources is a desktop environment?

There are projects that you cannot link if you have under 32 GB; but that is not enough to say that desktop environment you use while compiling is unusable under 32 GB.

Re:Linux Desktop on Apple Silicon/M1 in Practice by anthk on Wednesday March 03, 2021 @08:29AM (#26328002)
2GB of RAM user here, done that with clang as it uses far less memory than GCC.
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:42AM (#26330842)
I mean really how many people are recompiling their entire code base every single day? Is their make/build environment so bad that they can't trust incremental compiles? I'm getting along just fine on my 8GB laptop. I know some people work with big datasets and video and such but holy cow. Most of us are probably just writing code for a browser/backend/library/test and not pushing around terabytes of data.
Re:Linux Desktop on Apple Silicon/M1 in Practice by anthk on Wednesday March 03, 2021 @12:10PM (#26331332)
Maybe these people never heard of ccache.
Re:Linux Desktop on Apple Silicon/M1 in Practice by turbinerneiter on Wednesday March 03, 2021 @05:41AM (#26326785)
Running Fedora/GNOME on an i5/8gb laptop, never ever felt memory constrained.
Re:Linux Desktop on Apple Silicon/M1 in Practice by cozzyd on Wednesday March 03, 2021 @08:37AM (#26328090)
My 5-year-old laptop is an i5/8GB with Fedora/GNOME (my primary machine is a desktop) and that is usually ok, but there are certainly things I can't do (like use Google Earth while having slack or a web browser open).
Re:Linux Desktop on Apple Silicon/M1 in Practice by stjohnswarts on Wednesday March 03, 2021 @11:44AM (#26330887)
You won't but I think some HN people have to push around a lot data and the fastest way to do that is to get as much of it in memory as possible. Others love their electron apps and docker suites and VMs.
Re:Linux Desktop on Apple Silicon/M1 in Practice by mhd on Wednesday March 03, 2021 @06:24AM (#26327030)
For a regular user, probably not. Contemporary dev work with spurious containerization on the other hand…

Maybe some companies should give their employees two systems. Your average way too expensive bragging rights laptop, and a smaller older one which is the only one you're allowed to do your code review/productive commits on.

Re:Linux Desktop on Apple Silicon/M1 in Practice by dec0dedab0de on Wednesday March 03, 2021 @07:51AM (#26327669)
How about an undersized laptop for testing and coding. But a personal server for under their desk with k8s already installed.
Re:Linux Desktop on Apple Silicon/M1 in Practice by mhd on Wednesday March 03, 2021 @09:50AM (#26329013)
People, for some kind of reason, really like their laptops. They also have more brand recognition, thus the "bragging right" part, when you get your new X1/Macbook every 2 years.

And if you still work on your laptop but have your personal server box as a CPU slave, that still leaves some issues. You might be able to do your build steps on the machine, but your IDE still runs on your laptop, so that needs to be beefy enough -- never mind auxiliary applications like browsers, Photoshop, CAD etc. Also, it's quite hard to get a slow laptop with decent ergonomics, unless you buy used (not that much an option for companies).

Also, once you go headless server, it's better to just put it online anyway, as you don't need 24/7 access

Re:Linux Desktop on Apple Silicon/M1 in Practice by aodaki on Wednesday March 03, 2021 @06:08AM (#26326936)
I mean, Android Studio eats memory too much.
Re:Linux Desktop on Apple Silicon/M1 in Practice by chupasaurus on Wednesday March 03, 2021 @07:34AM (#26327533)
I run KDE with other JetBrain's IDEs and a 2 GB VM in the backround every day and the maximum memory usage was 14 GB.
Re:Linux Desktop on Apple Silicon/M1 in Practice by gspr on Wednesday March 03, 2021 @06:25AM (#26327036)
Are you joking?! That depends entirely on what you're doing! I could do my day to day work on 16 GB just fine. I could probably live fine with 8 GB if I actively closed web pages that I didn't actually need to keep open.
Re:Linux Desktop on Apple Silicon/M1 in Practice by theodric on Wednesday March 03, 2021 @05:48AM (#26326826)
I suppose it's what you do with it. I use about 6GB of an 8GB system, with the rest allocated to buffer cache. Firefox, VS Code, terminals, mapping software...I can't use 16GB unless I spin up a VM.
Re:Linux Desktop on Apple Silicon/M1 in Practice by rubyist5eva on Wednesday March 03, 2021 @08:32AM (#26328035)
this is just nonsense