The SSD's write speed is really bad. During the report the SSD's write speed at 19MB/s was worse than most hard drives. I see you did not enable TRIM support, I would highly recommend enabling TRIM support to see how the SSD behaves afterwards. Use the following command in the Terminal app:
sudo trimforce enable
You will be prompted for your admin password. Nothing will appear on screen as you type the password, so press the "Return" key to submit the password.
If this does not help, then check the health of the Samsung SSD by using DriveDx (free trial period) and posting the complete text report here using the "Additional Text" icon which looks like a piece of paper on the forum editing toolbar. Health reports for SSDs must be interpreted by someone familiar with SSDs since apps like DriveDx may show a "Warning" or "Failing" condition that may not be anything to worry about.....sometimes it is very hard to tell since some SSDs do not always provide enough health information to make a good assessment.
It also seems like you may not have enough memory for one of your workloads since you ended up using about 4GB of Swap. Did you ever have the memory replaced or upgraded? It is unusual to see just a single stick of memory on an iMac from the factory which may indicate one of your memory modules or memory slot may have failed. If this is the original Apple memory, how much memory should this iMac have....it currently is showing just a single 16GB memory module? Is a third party memory module installed? If so, what is the make & model (part#)?
Edit: Please do not make multiple threads for the same issue. I just saw your earlier thread. It just causes confusion and it wastes our time because contributors will not realize another conversation exists perhaps with more details. I've asked the moderators to remove your other thread to avoid confusion.