persistent threshold use smsg_max, dynamic_smsgs works now with persistent