Change the Topology.enableOptimizedRead flag to true.
diff --git a/src/main/java/net/onrc/onos/ofcontroller/topology/Topology.java b/src/main/java/net/onrc/onos/ofcontroller/topology/Topology.java
index d1f2af4..2785e7d 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/topology/Topology.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/topology/Topology.java
@@ -195,7 +195,7 @@
     private final static Logger log = LoggerFactory.getLogger(Topology.class);
     
     // flag to use optimized readFromDatabase() method.
-    private static final boolean enableOptimizedRead = false;
+    private static final boolean enableOptimizedRead = true;
     
     private Map<Long, Node> nodesMap;	// The dpid->Node mapping