Sniper speed up

218 views
Skip to first unread message

Zung

unread,
Jul 25, 2016, 2:56:14 PM7/25/16
to Sniper simulator
I am a newbie to Sniper.
I have an application that takes less than 3 seconds to complete on an Unbuntu 12 Linux box.
However it takes 227 minutes to complete under Sniper.
Is there a minimal configuration to get Sniper to run the fastest and producing consistent results?
Here is my current configuration:

#include base 

[perf_model/cache]
levels = 3

[perf_model/l1_icache]
writethrough = 0

[perf_model/l1_dcache]
writethrough = 0

[perf_model/l2_cache]
writethrough = 0

[perf_model/l3_cache]
cache_block_size = 64
dvfs_domain = global
prefetcher = none
shared_cores = 4
writethrough = 0
perf_model_type = parallel
writeback_time = 0
tags_access_time = 10
data_access_time = 30 # 35 cycles total according to membench, +L1+L2 tag times
replacement_policy = lru
address_hash = mask
associativity = 16
cache_size = 8192

[perf_model/core/oneipc]
latency_cutoff = 4 # Maximum latency which is assumed to be completely overlapped. L1-D hit latency should be a good value

[perf_model/dram]
# -1 means that we have a number of distributed DRAM controllers (4 in this case)
num_controllers = -1
controllers_interleaving = 4

Your help in this matter will be greatly appreciated.

Zung

Wim Heirman

unread,
Jul 26, 2016, 5:33:53 AM7/26/16
to snip...@googlegroups.com
Hi Zung,

Please see some discussion about this in an earlier thread on this mailing list: https://groups.google.com/d/msg/snipersim/cczjaQYBZFc/8uuuC7sEMZkJ

Keep in mind though that detailed simulation is always rather slow so don't expect any miracles. You can increase simulation speed, but that will reduce accuracy, which depending on your exact experiment may or may not be acceptable.

Regards,
Wim


--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zung

unread,
Jul 26, 2016, 9:02:22 AM7/26/16
to Sniper simulator
Thanks Wim, for your quick response.
I will do some more experimenting.

Zung
Reply all
Reply to author
Forward
Message has been deleted
0 new messages