Better HN
topnewbestaskshowjobs
Log inSign up

ece

939 karma · joined Aug 1, 2017 (9y ago) · 968 submissions

Living somewhere between eecs and cecs.
Submissions

comment 5y ago · link · parent

Superscalar vs super-pipelining isn't new. If there's no magic, then a third wider would likely exactly decrease the boost clock by a third with perfect code. With SMT off, I get 25-50% more performance on single threaded benchmarks, that's because a thread does get full access to 50% more decode/execution units in the same cycle. It's not that simple again, but that's likely the simplest example.

The M1 is definitely a significantly different point in the design space. Intel is also doing big/little designs with Lakefield, but it's still a bit early to see where that goes for x64. I don't think Intel/AMD have specifically avoided going wider as fast as Apple; AVX/AVX2/AVX512 probably take up more die-area than going 1/3 wider, and that's what they've focused on with extensions over the years. If there is an x64 ISA limitation to going wider, we'll find out, but that's highly unlikely IMO.

comment 5y ago · link · parent

Like I said, this is absolutely a die-size tradeoff IMO. That 75% IPC gain is only around a ~20% difference in geekbench and at similar sustained power levels. If you want AVX2/512+SMT, a slightly narrower core of realistically 6+ wide with uOP-cache upto 8-wide is an acceptable tradeoff. We have seen Zen 3 go wider from Zen 1/2[1], so wider x64 designs with AVX/SMT should be coming, but this is the squinting part with TSMC 5nm vs 7nm.

[1] https://www.anandtech.com/show/16214/amd-zen-3-ryzen-deep-di...

comment 5y ago · link · parent

Nope. Anandtech measured 27W peak on M1 CPU workloads with the average closer to 20W+[1].

The Ryzen 4800U and i7-1165G7 also have comparable GPUs (and TPU+ISP for the i7) within the same ~15-25W TDP. The Intel i7-1165G7 average TDP might be closer to ~30W because of it's 4.7Ghz boost clock, but it's still comparable to the M1.

The i7-1165G7 and 4800U have a few laptop designs with soldered RAM. You can get 17hrs+ of video out of a 4800U laptop with a 60Wh battery[2]. Also comparable with i7-1065G7/i7-1165G7 at 15hrs+/50Wh.

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

[2] https://www.pcworld.com/article/3531989/battery-life-amd-ryz...

comment 5y ago · link · parent

The i7-1165G7 is within 20% on single core performance of the M1. The Ryzen 4800U is within 20% on multi-core performance. Both are sustained ~25W parts similar to the M1. If you turned x64 SMT/AVX2 off, normalized for cores (Intel/AMD 4/8 vs Apple 4+4), on-die cache (Intel/AMD 12M L2+L3 vs Apple 32MB L2+L3) and frequency (Apple 3.2 vs AMD/Intel 4.2/4.7), you'd likely get very close results on 5nm or 7nm-equivalent same process. Zen 3 2666 vs 3200 RAM alone is about a 10% difference. The M1 is 4266 RAM IIRC.

TBH, Laptop/Desktop level performance is indeed very nice to see out of ARM, after a few years of false starts by a few startups and Qualcomm. Apple designed a wider core they deserve credit for, but wider cores have been a definitive trend starting with the Pentium M vs Pentium 4. There is a trade-off here for die area IMO, AMD/Intel have AVX2 and even AVX512 and SMT on each core, and narrower cores (with smaller structures, higher frequency). Apple has wider cores (larger structures, less frequency, higher IPC). It's not that simple, but it kind of is if you squint a bit.

comment 5y ago · link · parent

The User/Developer distinction is completely arbitrary. Any user can download Xcode/Android Studio and develop for their device which has the same libraries installed as an SDK including analytics/debugging/ads and such. Google used to charge developers a one time $25 fee, and Apple could charge as little as $5/developer/year to cover everything related to the App Store. The Swift compiler is common across a few Apple devices, and the device buyers are paying for that.

comment 5y ago · link · parent

The OS and APIs are part of the device users paid for. DRM for piracy protection can be had by any developer on any platform now a days, just look at Netflix.

A person in charge of the Apple App Store told the US Congress it takes ~$100 million to run the App Store[1]. That's about $5/developer/year instead of $99/developer/year that Apple charges.

[1] Page 345: https://judiciary.house.gov/uploadedfiles/competition_in_dig...

comment 5y ago · link · parent

Steam doesn't force a payment provider for in-app purchases unless a user chooses to pay out of the Steam wallet and a developer has added support for it. Quite a few F2P games on Steam collect credit cards unlike what Apple/Google allow developers to do.

Steam also has a ton of social network features like chat/communities/etc.. and they support multiple platforms. They also reduce their cut to 25% and 20% above $10 million and $50 million respectively.

Developers and users are completely free to use or not use Steam, GoG, Epic, Itch.io, or others. Quite a few developers do pre-orders on Humble, and then sell on Steam, etc.. You're stuck with Apple/Google TOS for the vast majority of apps regardless if you're the developer or user. Epic couldn't possibly bring the same lawsuits against Steam, maybe the consoles, but even they allow different in-app purchase payment providers (F2P games collecting credit cards again) and subsidize the consoles quite a bit at the start of each cycle.

comment 5y ago · link · parent

There's no Jailbreak needed for installing apps and alternate app stores. Just a permission change to install F-Droid, Amazon App Store or something else. Another permission change in developer settings lets you unlock the boot loader and install alternate ROMs like Lineage and get root. A few of the cheaper phones sold by carriers as part of pre-paid plans and such might not be able to unlock the boot loader, but you're still free to sideload any apps you want.

I wish there were more big name apps that would get on F-Droid or one of the alternative app stores on Android. The more competition there is, the better for developers and users.

comment 6y ago · link · parent

I don't think I would go that far. It's easy enough to restrict spell-correct to dictionary words.

When I search for a specific part number, I tend to get a similar more popular part where spell-correct makes zero sense to have anyway.

comment 6y ago · link · parent

Hmm... glad to see quite a lot of FOSS software projects here. Maybe KDE/GNOME should join as well.

comment 6y ago · link · parent

I've found myself fighting the spell-correct search more often too, worse, it's easily handled by giving me the results I searched for and then including other optional links or results.

There's just no excuse when what I'm searching for is right, and a search engine thought I'd like something else. It's dumb af.

comment 6y ago · link · parent

memtest exactly tests for different access patterns including attacks like Rowhammer. I also use Gentoo with background tasks like mprime/foldingathome (they can catch memory errors too), and any gcc/llvm errors would've been obvious by now (It's easy to repeatably and reliably test checksums on every compiled package). DRAM errors get progressively worse, replace the module when you find any errors. Simple as that. Focusing on finding errors early and doing backups protects against almost all classes of failures for home PCs.

With a median of 10,000 FIT or lower, it's zero errors every 5-10 years, and DDR4/5 might actually be below that if the rate of improvement between DDR1/2 was anywhere between 2x-10x continued. You'd have to overlook this important trend to see any benefit from ECC. Yes, there are DRAM errors, but if they can be found by memtest, bg scrubbing, self-tests and don't affect low-use scenarios, then it's meaningless to be talking about ECC for home use.

Setting speed and timings on ECC modules seems super flaky to me, do you know what speed and timings the separate ECC logic can handle? Can you turn off ECC and test DRAM independently? Maybe what you're seeing is the ECC logic throwing errors and not the DRAM.

comment 6y ago · link · parent

I ran memtest+ for a weekend every 3 months or so on 64GB DDR4 Ryzen system for 2+ years and haven't found anything. Rock solid system, which has been on almost 24/7. No data loss that I can verify with backups.

I think the point about chipkill is salient, why isn't it more widely used if the benefits there are obvious? I think ECC is completely not worth the price for home users if you can do regular backups, run memtest, and compare checksums for any data corruption. Even with errors near the hard/soft boundary, you'll likely catch those by just running memtest for a longer period of time. DRAM errors get progressively worse, so you'll catch any errors that way as well using memtest again.

Datacenters have more surface area which cosmic rays can attack and are also more likely to see weird hard errors which might not have been caught in QC/QA, which is very different from isolated home computers or phones which aren't on 24/7 or can restart easily. If you have a datacenter and have truly sensitive unreplicated data, get chipkill. If you are home user, do regular backups, and run memtest. It's that simple. Hard drives have moving parts, and more failure modes, so pick a file system with checksums. CPUs/GPUs and SSDs might or might not have ECC caches because they have other ways of reducing hard/soft errors in SRAM.

People may disagree, but the study I would like to see is one that takes into account the denser environment of a datacenter vs the isolated home user and all modes of data loss/corruption in each case. We know Google replicates data in GFS, and a home user can do the same with backups.

comment 6y ago · link · parent

To answer my own question, an ad-hoc signed iOS App will deactivate after 7 days unless you pay $99/yr. This behaviour is not present on Big Sur and likely M1 Macs, they can still run notarized and non-notarized apps: https://arstechnica.com/gadgets/2020/11/macos-11-0-big-sur-t...

comment 6y ago · link · parent

My question was about MacOS and if similar behaviour exists there too with the M1 Macs.

To clarify iOS, so the app erases itself after 7 days? Or is it something like you can install an app for only 7 days after downloading/using Xcode?

comment 6y ago · link · parent

Maybe apps should be signed and issued certs by neutral authorities like SSL certs are issued (like Let's Encrypt).. Maybe also issue bulk cert updates with OS updates or virus scan updates like browser updates bring SSL root cert updates..

comment 6y ago · link · parent

With iOS, you have to be an Apple developer paying $99/yr to do ad-hoc signing, I'm guessing it's the same now for MacOS..

comment 6y ago · link · parent

Looking at trends, which is easy to do on real clear politics, you could have seen the Senate was going to be extremely close, and the presidency, while not the blowout everyone expected thanks to 538, would still favor Biden. Here's one forecast that was arguably closer than 538: https://www.270towin.com/

The polls did tighten at the end, but you can't just look at a snapshot (even near the end) to account for the trend. In all of these states the polls narrowed in some, but the final results were within MoE:

FL: https://www.realclearpolitics.com/epolls/2020/president/fl/f...

PA: https://www.realclearpolitics.com/epolls/2020/president/pa/p...

NV: https://www.realclearpolitics.com/epolls/2020/president/nv/n...

AZ: https://www.realclearpolitics.com/epolls/2020/president/az/a...

GA: https://www.realclearpolitics.com/epolls/2020/president/ga/g...

NC: https://www.realclearpolitics.com/epolls/2020/president/nc/n...

In Iowa the Des Moines Register poll had Trump at +7, which is within MoE, the rest were garbage: https://www.realclearpolitics.com/epolls/2020/president/ia/i...

In Ohio, none of polls were within MoE, so all of the polls there were garbage: https://www.realclearpolitics.com/epolls/2020/president/oh/o...

For the Senate I think North Carolina was wrong everywhere I looked, but 75/25 for Democratic control at 538 was the most wrong I think: https://fivethirtyeight.com/features/final-2020-senate-forec... https://www.realclearpolitics.com/epolls/2020/senate/2020_el... https://www.270towin.com/2020-senate-election/consensus-2020...

You can go state by state[1] to see which polls were more/less accurate within MoE compared to the final result and the trends in each state. 538 had a better chance of Biden winning by 400+! EVs [2], than the 306 he's likely to win with. It's this distribution that could have been better at accounting for severe polling errors in some states.

538 did do CYA posts[3], but here while bringing forward the error from 2016 in Ohio seems right, it still projects a win of 335+ EVs. Optimistic for Biden is the kind way of saying what the final 538 projection were, severely more wrong than individual polls is more accurate. If their distribution in [2] was better, I would be more willing to give them a pass.

[1] click on the state: https://www.realclearpolitics.com/epolls/2020/president/2020...

[2] "Every outcome in our simulations" https://projects.fivethirtyeight.com/2020-election-forecast/

[3] "What if polls are as wrong as 2016? Biden still wins" https://fivethirtyeight.com/features/trump-can-still-win-but... https://fivethirtyeight.com/features/im-here-to-remind-you-t...

comment 6y ago · link · parent

In general I think racism and misogyny will need to be disarmed in ways that they haven't been in the past. Nextdoor and Reddit might be best examples which Twitter and Facebook could follow. Increasing friction to post/repost, more fact checks, more labels on misinformation, and better localized moderation in general should be something these companies should have a good handle on already, but it seems like they've barely started grasping the problems.

It almost seems like if this isn't tackled head on instead of being ignored, that there might be scant progress on other issues like climate change.

comment 6y ago · link · parent

This seems curious, any unlocked phone regardless of OS should work on any network. Tech support should be able to help you with connection issues, and if not, I would try a different carrier.

comment 6y ago · link · parent

News readers can demand the truth either way (ad-funded, government-funded, corporation-funded, or reader-funded), and they're probably most likely to get it when they pay for it directly. It's the least worst way to get your news I'd say.

comment 6y ago · link · parent

> That journalist serve their sources, their ideologies, the interests of the owners of the journal and so-forth isn't bad unless you think everyone with power is evil (which is plausible but if you believe this, then you would be supporting some ideology outside the mainstream, which also has it's spin).

This needs to be repeated more often, Chomsky's point is that ad-serving businesses are turning the reader into the product, hardly controversial today considering Google and Facebook are doing the same.

Good journalists and papers are honest about their ideologies, and most editors have written scathing pieces about Trump by now, and the papers reflect these views. It's the ones who aren't honest about their biases you need to worry about.

comment 6y ago · link · parent

For general news, I would still prefer the common touchstone, and diversity of an Economist, FT, Post or NYT. Each of these papers has their weak and strong points (ie. some have covered tech better than others).

In more specialized fields, sure nothing beats an expert.

comment 6y ago · link · parent

I'm not an emacs user, but I've started using orgzly on Android through F-Droid and it's great. The sample notebook is nice, and easy to pick up on.

comment 6y ago · link · parent

EFI as a standard needs to be better implemented, but TPMs are your friend when you can change the keys.

I switched back to desktops when the 1st gen Ryzen 8-cores came out and haven't regretted it for a second. Bigger screens, beefy specs, more connectivity, and all of it is incredible value given the price of some 13-14 inch laptops!

I can go actually as light as I would like on my laptop now, even something ARM so that's a plus too, if you don't need mobility and beefy specs at the same time.

comment 6y ago · link · parent

Is Filemaker close to Hypercard in some ways? I'm not too familiar with Hypercard.

comment 6y ago · link · parent

The internet has neutral authorities for managing DNS, SSL, numerous protocols like http, and Net Neutrality exists even if the current FCC doesn't seem to think so.

There should accordingly be a neutral authority for signing apps, and requiring that companies build on neutral connectivity standards like PCIE. The ecosystem can stay open as it matures, but you're right, if the internet remains 4 giant companies, then yeah, even general purpose computing devices can be reduced to iOS, Windows 10 S, and Android with locked bootloaders and no alternative app stores.

comment 6y ago · link · parent

Multiple rendering engines are probably a good thing in the long term for the web, and arguably losing other technology that Mozilla has worked on like Rust would be a big loss if Mozilla couldn't be as competitive as it has been.

I'm not so sure weaponizing privacy against Google by breaking a good amount of websites embedding Youtube videos is really the best way to get market share though, so by that metric, Google losing would hopefully mean Mozilla could work just as well as other browsers by default and actually gain market share.

comment 6y ago · link · parent

The newest JVM GCs are of the Stop and Copy type AFAIK, Z GC and Shenandoah. Though I'd really like to see tcmalloc/jemalloc tied into this.
1
242526
33