News for hackers. Stuff that matters.
Re:Flow browser passes the Acid tests by arghwhat on Saturday June 13, 2020 @06:57PM (#23513555)
> Memory is not very useful when you're not using it, and has a very low cost when you are ... CPU cycles cost power when you use any amount ...

Of course important to remember that increased memory utilization results in increased CPU utilization. The range of degradation is quite wide: Increased cache misses (which cost a significant number of cycles), access patterns not in line with the prefetcher, and increased TLB misses.

It's for good reason that one of the most potent optimization techniques for hot code is to reduce the memory footprint and memory access.

Re:Flow browser passes the Acid tests by fouric on Saturday June 13, 2020 @07:38PM (#23513815)
I specifically said that I was talking about an engineering tradeoff, however - that is, when you have to choose between one or the other. Excluded from that is the possibility of improving both memory and CPU consumption at the same time - that means that you haven't hit the edge of the curve, so to speak.
Re:Flow browser passes the Acid tests by arghwhat on Tuesday June 16, 2020 @04:03AM (#23536910)
You wrote it as an "pick memory utilization or CPU utilization", stating memory as being practically free. I just wanted to correct that by saying that its utilization is very expensive for the CPU.

Rather the trade off you're thinking of is "caching vs. realtime computation" rather than just "memory vs. cpu". Outside caching, it's pretty universal that more memory utilization just means poorer performance, both in wallclock time and in CPU utilization.