[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-threaded TLC Simulation Mode


On Wednesday, February 28, 2018 at 5:38:19 AM UTC-8, William Schultz wrote:

On Saturday, February 24, 2018 at 12:03:18 PM UTC-5, William Schultz wrote:

I am trying to check a model with TLC using the following parameters (the specific spec isn't really important):

java tlc2.TLC -simulate -depth 20 -cleanup -gzip -workers 12 -metadir /hdd/tlc_states_1 -config MC.cfg MC.tla

When I run TLC the CPU utilization looks suspiciously low (my machine has 12 cores). Here is a a snapshot from htop while TLC was running:

Does simulation mode not run in a multi-threaded mode by default? One alternative I imagine is to just run multiple TLC processes in simulation mode, each with a different random seed, which would probably achieve the same result. Just wondering if this is a known/expected behavior.