Jenny,
The base.cfg configuration file is just a starting point for configuring the machine. By default, when you do not specify a configuration, the gainestown config is brought in (after base.cfg). We try to structure the configuration files to have a hierarchy, where the gainestown.cfg file (platform) includes the nehalem.cfg file (core configuration). In the gainestown.cfg file, you will find the L3 replacement policy configuration settings.
[perf_model/l3_cache]
replacement_policy = lru
You can also specify this on the command line directly. To do this, start with the gainestown configuration, and add the new replacement policy option to replace. For example, you could use your new replacement policy for your L3 cache (assuming that you have already updated sniper/common/core/memory_subsystem/cache/cache_set.cc for the new replacement policy) like this:
~/sniper$ ./run-sniper -cgainestown -gperf_model/l3_cache/replacement_policy=jiazhenpolicy -- /bin/ls
Definitely tell us if you run into any issues or have any other questions,
Trevor