Sandboxie Performance Issue.

If it's not about a problem in the program
Post Reply
BoxedSunshine
Posts: 17
Joined: Fri Jan 20, 2017 8:49 pm

Sandboxie Performance Issue.

Post by BoxedSunshine » Fri Jan 20, 2017 9:23 pm

Hi,

I've noticed that Sandboxie loses a lot of performance that affects gaming,
and other resource intensive tasks. In particular the 4K reads/writes. Please, look
into this if possible. I love the program.

Ramdisk setup. http://filehippo.com/download_softperfe ... isk/71289/
Image


Ramdisk Sandboxie Settings. (Set to run from the mounted ramdisk, b:\)
Image


Image
Image
Sunshine in a box, for when the storm hits.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2671
Joined: Mon Nov 07, 2016 3:10 pm

Re: Sandboxie Performance Issue.

Post by Barb@Invincea » Mon Jan 23, 2017 4:31 pm

Hello BoxedSunshine,

I tested the benchmark directly (no Ram disk) and did not notice a significant difference between the results.
I then tested using the Ram Disk software that you provided, and there was also a very small (between 100-200 megs) difference.
Were you running anything else at the time of conducting the tests?

What issues are you noticing when gaming? Also, what OS are you running? Any AV installed?

Here's an interesting thread related ram disk and SBIE:
http://forums.sandboxie.com/phpBB3/view ... rk#p102834

Regards,
Barb.-

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 621
Joined: Fri Nov 13, 2015 4:11 pm

Re: Sandboxie Performance Issue.

Post by Syrinx » Mon Jan 23, 2017 9:54 pm

I never bothered to run a benchmark inside myself. I could see how it might impact them however especially with the reads as it always checks the sandbox first then moves on to the real system and after seeing all the 'failed' read paths in procmon I never doubted it could impact things. With most games I've never noticed a real perceivable difference but with some games it was not possible to deny.

The ones that stick in my head are some KingsIsle games called Wizard101 & Pirate101. They have many thousands of small files (most of which are downloaded after you login and start playing and as needed). I had the directory listed as an OpenPipePath so technically there should be no reason for SBIE to continue checking the Sandbox first but of course it always does. With the Sandbox directory on the same HDD as the game I had quite a bit of lag where none existed outside of SBIE. When I put them both on a SSD this extra lag all but vanished.
At the same time, larger and more resource intensive games like Dragon Age Inquisition have very little added lag even if kept on the same HDD as the box for me. Usually just a minor hitch at startup. Go figure!

Seeing as you are testing on a RAMDisk, I'd expect to see nearly no difference as there isn't any hardware involved. I wonder if perhaps it could possibly have to do with the A\B drives normally being reserved for outdated reasons. I don't suppose the results would be any different if you create the ramdisk and assign it a different letter, D-Z?

/end drunk rant
http://goo.gl/p8qFCf
https://www.youtube.com/watch?v=vIxWgVOCexU

henryg
Posts: 535
Joined: Wed Nov 22, 2006 9:38 am

Re: Sandboxie Performance Issue.

Post by henryg » Tue Jan 24, 2017 12:42 pm

Try ImDisk instead?
Henry

BoxedSunshine
Posts: 17
Joined: Fri Jan 20, 2017 8:49 pm

Re: Sandboxie Performance Issue.

Post by BoxedSunshine » Wed Jan 25, 2017 5:06 am

Hi Barb, Syrinx, and henryg. Thanks for your time.

henryg wrote:Try ImDisk instead?
I'm getting similar results to this:
https://www.raymond.cc/blog/12-ram-disk ... ite-speed/


My current theory: Sandboxie applies file-caching. This serves as a bottleneck, for devices able to reach 1300 MB/s and above (4K, 4KQTD).
As you can see, the variation on the SSD live vs sandboxed, is minor. Out of curisoity, what speeds are you getting in your setup? Ramdisk, in particular.

SSD
Image


My current system is a highly optimized WIN7 x64 system, as you can see in my SSD-benchmarking (above).
Deep queue 4k... is the my only average score, the rest beats all their top scores.
http://ssd.userbenchmark.com/Samsung-84 ... ating/1594


NOTICE. How my 4kQTD score (average), is increased when run in a sandbox (file-caching?).
I also increased the migration file size (4GB), which seemed to have a slight positive effect.
Finally; I assigning a different drive letter, it didn't seem to have much of an effect.

RAMDISK
Image
Sunshine in a box, for when the storm hits.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2671
Joined: Mon Nov 07, 2016 3:10 pm

Re: Sandboxie Performance Issue.

Post by Barb@Invincea » Wed Jan 25, 2017 3:40 pm

Hello BoxedSunshine,

I have added the screenshots of my results, Win10 x64 system.
Image

Aside from seeing differences in the benchmark results, what issues are you noticing when gaming/using Sandboxie in general?
I spoke with the devs about this, they explained that Sandboxie is not caching files, however it is looking for them in a certain order, thus there might a slight difference in performance.

Regards,
Barb.-

BoxedSunshine
Posts: 17
Joined: Fri Jan 20, 2017 8:49 pm

Re: Sandboxie Performance Issue.

Post by BoxedSunshine » Thu Jan 26, 2017 1:53 am

Barb@Invincea wrote:Hello BoxedSunshine,
Aside from seeing differences in the benchmark results, what issues are you noticing when gaming/using Sandboxie in general?
In general; I love Sandboxie, keep up the good work guys!
I just wish for less of a performance hit whit high-speed ramdisks.

Syrinx mentioned how he noticed its effects. I'll just provide you some more feedback.
MMO's, and online gaming, espcially with PvP zoning and similar scenarious. E-sports.
It varies from game to game, or application; and even enviroment.
Sunshine in a box, for when the storm hits.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests