https://github.com/stjepang/smol/blob/3e899311b08fa01693e83560384e6cb8850e5573/src/context.rs seems to use num_cpu threads by default. It will probably be better if we can control the number of threads used (especially necessary when we want to run a program on a machine with more than a few dozen cores).
Similar issue in async-std: async-rs/async-std#774, async-rs/async-std#690.
I remember Tokio already has configurations like core_threads and max_threads, but currently there's no way to configure them in smol.