Using TLA+ to model Symmetric Multiprocessing (SMP)

Hi people. I have just stumbled upon TLA+ and it has opened my eyes to formal verification. I am doing a project now where I am using a microcontroller from XMOS. They have a really interesting architecture which can be thought of as SMP with communication through a dedicated interconnect that can support up to 4 concurrent links. Their biggest MCU has 32 such parallel "cores" (Actually it has only 4 physical cores each with fine-grained multithreading allowing 8 threads to be run concurrently).

Anyhow. I would like to formally verify that our system ( a bunch of cores commuicating over the interconnect) has certain properties, e.g. liveness, throughput, latency. Could TLA+ be a good fit for this?

What makes me doubtful is that if I define a separate process for each SMP core, then TLC will test out ANY interleaving schedule of the steps within possibly these processes. But in fact, on my system, they are running in parallel, e.g. there is no "schedule". Of course when they communicate they do so using a limited, possible unreliable, shared resource (the interconnect).

I guess that you could work around this by e.g. creating a variable for "clock-ticks" and forcing the processes to progress in lock-step. But it got me thinking that maybe TLA+ was not the right approach for this. I am vaguely familiar with CSP/FDR which could be a better approach. What do you think?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/hamsterpoops
πŸ“…︎ Nov 04 2021
🚨︎ report
Symmetric multiprocessing

We are probably years away from SMP but it still amazes me what RISC OS can do with a single core, the low RAM usage as well. It is probably the more efficient OS to of ever been conceived that boots to a very graphical environment.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/chrisgclark
πŸ“…︎ Jan 29 2021
🚨︎ report
21, Inc. Engineer: "Everyone assumes humans will be driving transactions, not the case." -- 10-billion chip 'symmetric multiprocessing' network (hardware), to power distributed apps w/ weighted algorithms transacting in BTC (software), to mediate micro-exchanges b/w entities e.g. cars/drones (IoT) soundcloud.com/elux-1/21-…
πŸ‘︎ 271
πŸ’¬︎
πŸ‘€︎ u/eragmus
πŸ“…︎ May 23 2015
🚨︎ report
OpenBSD 6.2 on EdgeRouter Lite with bsd.mp symmetric multiprocessing kernel an.undulating.space/post/…
πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/wintr_
πŸ“…︎ Nov 03 2017
🚨︎ report
OpenBSD 6.2 on EdgeRouter Lite with bsd.mp symmetric multiprocessing kernel (Xpost from /r/ubiquiti) an.undulating.space/post/…
πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/wintr_
πŸ“…︎ Nov 03 2017
🚨︎ report
Why do we need atomic operations on the 80386, if it doesn’t support symmetric multiprocessing anyway? devblogs.microsoft.com/ol…
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/mttd
πŸ“…︎ Apr 04 2019
🚨︎ report
DB2 Symmetric Multiprocessing

Hello all. I'm trying to download IBM i 5770-SS1 DB2 Symmetric Multiprocessing for IBM i 7.2 but can't seem to find it on ESS on My Software Downloads. Any help would be appreciated. Thanks!

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/clrr_ph
πŸ“…︎ Mar 14 2019
🚨︎ report
21, Inc. Engineer: "Everyone assumes humans will be driving transactions, not the case." -- 10-billion chip 'symmetric multiprocessing' network (hardware), to power distributed apps w/ weighted algorithms transacting in BTC (software), to mediate micro-exchanges b/w entities e.g. cars/drones (IoT) reddit.com/r/Bitcoin/comm…
πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/BiPolarBulls
πŸ“…︎ May 24 2015
🚨︎ report
Allegro CL 8.1 users can prepare for the upcoming support of Symmetric Multiprocessing in Allegro CL 9.0 franz.com/support/tech_co…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/lispm
πŸ“…︎ Jul 15 2009
🚨︎ report
C191 - Operating Systems Passed + Advice

The TRCIKIEST thing about this course is that there's 700+ pages of content and you're somewhat expected to know a little bit of everything. Not to mention, it seems like everyone took a different path on passing this course, nothing is linear. Also, everyone in the course chatter seems to have failed the OA 2-3 times which scared me. But, do not fear! This course is not as scary as it seems! I like this class a LOT more than C952, it's way more organized.

To save time and knowledge, please take C952 before this course. This course expands a lot of C952's topics and you could save a lot of time.

❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀ ❀

Step 0 (meaning optional): Take the Pre-A first. Not required, it's my recommendation. However, do not look at the answers. Just see where you are and get a feel for the questions. Obviously, if you're new to the subject, that's okay. I'd recommend to try not to guess on answers either, be honest with yourself. If you know the question, choose the answer. If not, just leave it blank. That way, you'll get the most accurate knowledge on what you know.

Step 1: Read the abridged textbook OR read the textbook. In the beginning, try to read through the WHOLE book, either the abridged or actual textbook. You can find the abridged book in the course chatter. Make sure to stick to one. Don't try to switch back and forth. I did this and wasted a ton of time, just pick one and stick with it.

  • If you're interested in this subject, I'd recommend the actual textbook. It's really not that bad and has a ton of good explanations. The abridged is alright, but it cuts off a ton of sentences and the formatting is really strange.
  • If you're on a time crunch and just want to pass (or have no interest like me), I'd recommend the abridged book. It's MUCH shorter (only around 300 pages). It might not be the best, but it'll still do.

Tip: If you don't understand a concept right away, THAT'S OKAY! Just keep moving forward, don't try to understand all of this 100%, that'll come later, trust me.

Step 2: Take the Pre-A again. I know what you're thinking: But, TeaFlower, I hardly remember ANYTHING, I'll surely fail this a second time. And that's okay too. This time, though, is when you can look at the answers.

Step 3: Review Pre-A. This is where it gets a little "tricky" for some. However, if you've watched Jim Ashe's pre-assessment review on C952, you'll know wher

... keep reading on reddit ➑

πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/LittleTeaFlower
πŸ“…︎ Nov 01 2021
🚨︎ report
SERIOUS: This subreddit needs to understand what a "dad joke" really means.

I don't want to step on anybody's toes here, but the amount of non-dad jokes here in this subreddit really annoys me. First of all, dad jokes CAN be NSFW, it clearly says so in the sub rules. Secondly, it doesn't automatically make it a dad joke if it's from a conversation between you and your child. Most importantly, the jokes that your CHILDREN tell YOU are not dad jokes. The point of a dad joke is that it's so cheesy only a dad who's trying to be funny would make such a joke. That's it. They are stupid plays on words, lame puns and so on. There has to be a clever pun or wordplay for it to be considered a dad joke.

Again, to all the fellow dads, I apologise if I'm sounding too harsh. But I just needed to get it off my chest.

πŸ‘︎ 17k
πŸ’¬︎
πŸ‘€︎ u/anywhereiroa
πŸ“…︎ Jan 15 2022
🚨︎ report
I’ve got this disease where I can’t stop making airport puns.

The doctor says it terminal.

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/xIR0NPULSE
πŸ“…︎ Jan 28 2022
🚨︎ report
Just because it's a joke, doesn't mean it's a dad joke

Alot of great jokes get posted here! However just because you have a joke, doesn't mean it's a dad joke.

THIS IS NOT ABOUT NSFW, THIS IS ABOUT LONG JOKES, BLONDE JOKES, SEXUAL JOKES, KNOCK KNOCK JOKES, POLITICAL JOKES, ETC BEING POSTED IN A DAD JOKE SUB

Try telling these sexual jokes that get posted here, to your kid and see how your spouse likes it.. if that goes well, Try telling one of your friends kid about your sex life being like Coca cola, first it was normal, than light and now zero , and see if the parents are OK with you telling their kid the "dad joke"

I'm not even referencing the NSFW, I'm saying Dad jokes are corny, and sometimes painful, not sexual

So check out r/jokes for all types of jokes

r/unclejokes for dirty jokes

r/3amjokes for real weird and alot of OC

r/cleandadjokes If your really sick of seeing not dad jokes in r/dadjokes

Punchline !

Edit: this is not a post about NSFW , This is about jokes, knock knock jokes, blonde jokes, political jokes etc being posted in a dad joke sub

Edit 2: don't touch the thermostat

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/CzarcasmRules
πŸ“…︎ Jan 23 2022
🚨︎ report
Blind Girl Here. Give Me Your Best Blind Jokes!

Do your worst!

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Leckzsluthor
πŸ“…︎ Jan 02 2022
🚨︎ report
I heard that by law you have to turn on your headlights when it’s raining in Sweden.

How the hell am I suppose to know when it’s raining in Sweden?

πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/justshtmypnts
πŸ“…︎ Jan 25 2022
🚨︎ report
Puns make me numb

Mathematical puns makes me number

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/tadashi4
πŸ“…︎ Jan 26 2022
🚨︎ report
So my mom is getting her foot cut off today.. (really)

We told her she can lean on us for support. Although, we are going to have to change her driver's license, her height is going down by a foot. I don't want to go too far out on a limb here but it better not be a hack job.

πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/Slimybirch
πŸ“…︎ Jan 27 2022
🚨︎ report
Petition to ban rants from this sub

Ants don’t even have the concept fathers, let alone a good dad joke. Keep r/ants out of my r/dadjokes.

But no, seriously. I understand rule 7 is great to have intelligent discussion, but sometimes it feels like 1 in 10 posts here is someone getting upset about the jokes on this sub. Let the mods deal with it, they regulate the sub.

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/drak0ni
πŸ“…︎ Jan 24 2022
🚨︎ report
French fries weren’t cooked in France.

They were cooked in Greece.

πŸ‘︎ 9k
πŸ’¬︎
πŸ“…︎ Jan 20 2022
🚨︎ report
This subreddit is 10 years old now.

I'm surprised it hasn't decade.

πŸ‘︎ 14k
πŸ’¬︎
πŸ‘€︎ u/frexyincdude
πŸ“…︎ Jan 14 2022
🚨︎ report
Why does Spider-Man's calendar only have 11 months?

He lost May

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/Toku-Nation
πŸ“…︎ Jan 26 2022
🚨︎ report
When I was a single man, I had loads of free time.

Now that I listen to albums, I hardly ever leave the house.

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/porichoygupto
πŸ“…︎ Jan 25 2022
🚨︎ report
You've been hit by
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/mordrathe
πŸ“…︎ Jan 20 2022
🚨︎ report
I'm sick of you guys posting dumb wordplay in here for awards and upvotes.

Don't you know a good pun is its own reword?

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/diggitygiggitycee
πŸ“…︎ Jan 21 2022
🚨︎ report
My 4 year oldest favourit joke, which he very proudly memorized and told all his teachers.

Two muffins are in an oven, one muffin looks at the other and says "is it just me, or is it hot in here?"

Then the other muffin says "AHH, TALKING MUFFIN!!!"

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/smoffatt34920
πŸ“…︎ Jan 22 2022
🚨︎ report
Dropped my best ever dad joke & no one was around to hear it

For context I'm a Refuse Driver (Garbage man) & today I was on food waste. After I'd tipped I was checking the wagon for any defects when I spotted a lone pea balanced on the lifts.

I said "hey look, an escaPEA"

No one near me but it didn't half make me laugh for a good hour or so!

Edit: I can't believe how much this has blown up. Thank you everyone I've had a blast reading through the replies πŸ˜‚

πŸ‘︎ 20k
πŸ’¬︎
πŸ‘€︎ u/Vegetable-Acadia
πŸ“…︎ Jan 11 2022
🚨︎ report
What starts with a W and ends with a T

It really does, I swear!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/PsychedeIic_Sheep
πŸ“…︎ Jan 13 2022
🚨︎ report
My wife left me because I couldn’t stop doing impressions of pasta

And now I’m cannelloni

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/bluestratmatt
πŸ“…︎ Jan 23 2022
🚨︎ report
Why did Karen press Ctrl+Shift+Delete?

Because she wanted to see the task manager.

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Eoussama
πŸ“…︎ Jan 17 2022
🚨︎ report
Steve JOBS would have made a better President than Donald Trump

But that’s comparing apples to oranges

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/Ok-Ingenuity4838
πŸ“…︎ Jan 22 2022
🚨︎ report
I just flew in from Chernobyl

And boy are my arms legs.

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/JhopkinsWA
πŸ“…︎ Jan 23 2022
🚨︎ report
My 7 year old daughter just told me this one. I'm so proud. What did the duck say when he bought chapstick?

Put it on my bill

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/BigRedHusker_X
πŸ“…︎ Jan 26 2022
🚨︎ report
So 2 trees got arrested in the town I live...

Heard they've been doing some shady business.

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/K1ll47h3K1n9
πŸ“…︎ Jan 18 2022
🚨︎ report
No gains
πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/ridi86
πŸ“…︎ Jan 22 2022
🚨︎ report
I was almost upset that my coffee tasted like dirt today

but then I remembered it was ground this morning.

Edit: Thank you guys for the awards, they're much nicer than the cardboard sleeve I've been using and reassures me that my jokes aren't stale

Edit 2: I have already been made aware that Men In Black 3 has told a version of this joke before. If the joke is not new to you, please enjoy any of the single origin puns in the comments

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/scarf_spheal
πŸ“…︎ Jan 19 2022
🚨︎ report
How eggs-traordinary
πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Rix27_
πŸ“…︎ Jan 21 2022
🚨︎ report
Duckduckgo
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/findmebatman
πŸ“…︎ Jan 28 2022
🚨︎ report
Geometry sucks
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Kash30
πŸ“…︎ Jan 25 2022
🚨︎ report
What is the scariest tree?

BamBOO!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/K1ll47h3K1n9
πŸ“…︎ Jan 18 2022
🚨︎ report
What is a a bisexual person doing when they’re not dating anybody?

They’re on standbi

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Toby-the-Cactus
πŸ“…︎ Jan 12 2022
🚨︎ report
My ten-year-old daughter came up with this at dinner tonight: What do you get if put a copy of Macbeth on top of a dictionary?

A play on words.

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/ah1887
πŸ“…︎ Jan 20 2022
🚨︎ report
A queen size statement.
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/Flight-less
πŸ“…︎ Jan 22 2022
🚨︎ report
Orion's belt
πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/mordrathe
πŸ“…︎ Jan 25 2022
🚨︎ report
Did you know all dogs are made up of only 3 elements?

Calcium, nickel, neon

πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/redneckvet
πŸ“…︎ Jan 25 2022
🚨︎ report
Geddit? No? Only me?
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/shampy311
πŸ“…︎ Dec 28 2021
🚨︎ report
My son, Luke, loves how I named our kids after Star Wars characters...

My daughter, Chewbecca, not so much.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/andersonfmly
πŸ“…︎ Jan 21 2022
🚨︎ report
I wanna hear your best airplane puns.

Pilot on me!!

πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Paulie_Felice
πŸ“…︎ Jan 07 2022
🚨︎ report
E or ß?
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Amazekam
πŸ“…︎ Jan 03 2022
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.