Skip to content

Commit

Permalink
Update expr logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pwrliang committed Oct 12, 2023
1 parent 53e3380 commit d84762a
Show file tree
Hide file tree
Showing 256 changed files with 1,971 additions and 18,985 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ evalute RayJoin with the following commands.

### Reproduce
### Scalability
1. LSI `./run_scalability.sh -s=map --lsi-query`
1. LSI `./run_scalability.sh -s=edges --lsi-query`
2. PIP `./run_scalability.sh -s=points --pip-query`
### AG
1. LSI `./run_ag.sh --lsi-vary-enlarge-lim`
Expand Down
8 changes: 5 additions & 3 deletions expr/draw/ag.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,21 +192,23 @@ def draw_enlarge_lim_pick(prefix):
ylabel = y_labels[i]
ax.set_xticks(loc, enlarge_list, rotation=0)
ax.set_title(title, verticalalignment="top")
ax.set_xlabel(xlabel='Parameter $s$')
ax.set_xlabel(xlabel='Merging Threshold $s$')
ax.set_ylabel(ylabel=ylabel, labelpad=1)
ax.autoscale(tight=True)

ax.margins(x=0.05, y=0.3)
# ax.set_ylim((0, 1))
# if i == 0:
ax.legend(loc='upper left', ncol=2, handletextpad=0.3,
fontsize='medium', borderaxespad=0.2, frameon=False)
fontsize=11, borderaxespad=0.2, frameon=False)
# else:
# ax.legend(loc='upper left', ncol=3, handletextpad=0.3,
# fontsize='medium', borderaxespad=0.2, frameon=False)
fig.tight_layout(pad=0.2)
plt.subplots_adjust(wspace=0.01, hspace=0)
fig.tight_layout(pad=0.1)
fig.savefig(os.path.join(prefix, 'ag_varying_enlarge.pdf'), format='pdf',
bbox_inches='tight')

plt.show()


Expand Down
Binary file modified expr/draw/ag_varying_enlarge.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/local/storage/liang/.clion/RayJoin/cmake-build-release-dl190/bin/polyover_exec -poly1 /local/storage/liang/Downloads/Datasets/point_cdb/USACensusBlockGroupBoundaries/USACensusBlockGroupBoundaries_Point.cdb -poly2 /local/storage/liang/Downloads/Datasets/point_cdb/USADetailedWaterBodies/USADetailedWaterBodies_Point.cdb -serialize=/dev/shm -grid_size=15000 -mode=rt -lb=false -v=1 -fau -xsect_factor 0.1 -enlarge=5
I0929 10:35:14.843308 67529 planar_graph.h:117] Map /local/storage/liang/Downloads/Datasets/point_cdb/USACensusBlockGroupBoundaries/USACensusBlockGroupBoundaries_Point.cdb is loaded, chains: 872624 points: 29345959 edges: 28473335, min seg len: 3.70876e-06, max seg len: 3.41591, avg seg len: 0.000723058, stdev: 0.00289835
I0929 10:35:27.679515 67529 planar_graph.h:117] Map /local/storage/liang/Downloads/Datasets/point_cdb/USADetailedWaterBodies/USADetailedWaterBodies_Point.cdb is loaded, chains: 2442900 points: 28007655 edges: 25564755, min seg len: 1.45602e-08, max seg len: 0.499989, avg seg len: 0.000678176, stdev: 0.000784081
I0929 10:35:28.340381 67529 context.h:51] Bounding Box, Bottom-left: (-179.149, 18.9107), Top-right: (-66.9496, 71.3652)
I0929 10:35:28.340394 67529 context.h:58] Scaled Bounding Box, Bottom-left: (-69136359329185, -67784245771247), Top-right: (69136359329184, 67784245771246)
I0929 10:35:28.340395 67529 context.h:61] Unscaled Bounding Box, Bottom-left: (-179.149, 18.9107), Top-right: (-66.9496, 71.3652)
I0929 10:35:32.808562 67529 rt_engine.cu:282] Info: Pipeline statistics
/local/storage/liang/.clion/RayJoin/cmake-build-release-dl190/bin/polyover_exec -poly1 /local/storage/liang/Downloads/Datasets/point_cdb/USACensusBlockGroupBoundaries/USACensusBlockGroupBoundaries_Point.cdb -poly2 /local/storage/liang/Downloads/Datasets/point_cdb/USADetailedWaterBodies/USADetailedWaterBodies_Point.cdb -serialize=/dev/shm -grid_size=15000 -mode=rt -lb=false -v=1 -fau -xsect_factor 0.1 -enlarge=3.5
I1010 14:24:04.869611 1923710 planar_graph.h:216] Map /dev/shm/-local-storage-liang-Downloads-Datasets-point_cdb-USACensusBlockGroupBoundaries-USACensusBlockGroupBoundaries_Point.cdb.bin is deserialized, chains: 872624 points: 29345959 edges: 28473335
I1010 14:24:05.780755 1923710 planar_graph.h:216] Map /dev/shm/-local-storage-liang-Downloads-Datasets-point_cdb-USADetailedWaterBodies-USADetailedWaterBodies_Point.cdb.bin is deserialized, chains: 2442900 points: 28007655 edges: 25564755
I1010 14:24:05.780792 1923710 context.h:51] Bounding Box, Bottom-left: (-179.149, 18.9107), Top-right: (-66.9496, 71.3652)
I1010 14:24:05.780808 1923710 context.h:58] Scaled Bounding Box, Bottom-left: (-69136359329185, -67784245771247), Top-right: (69136359329184, 67784245771246)
I1010 14:24:05.780810 1923710 context.h:61] Unscaled Bounding Box, Bottom-left: (-179.149, 18.9107), Top-right: (-66.9496, 71.3652)
I1010 14:24:10.516456 1923710 rt_engine.cu:282] Info: Pipeline statistics
module(s) : 1
entry function(s) : 2
trace call(s) : 1
Expand All @@ -16,7 +16,7 @@ I0929 10:35:32.808562 67529 rt_engine.cu:282] Info: Pipeline statistics
basic block(s) in non-entry functions: 1
instruction(s) in non-entry functions: 1
debug information : no
I0929 10:35:32.813490 67529 rt_engine.cu:282] Info: Pipeline statistics
I1010 14:24:10.521523 1923710 rt_engine.cu:282] Info: Pipeline statistics
module(s) : 1
entry function(s) : 2
trace call(s) : 1
Expand All @@ -28,54 +28,54 @@ I0929 10:35:32.813490 67529 rt_engine.cu:282] Info: Pipeline statistics
basic block(s) in non-entry functions: 1
instruction(s) in non-entry functions: 1
debug information : no
I0929 10:35:32.813552 67529 lsi.h:22] Queue size: 247 MB
I0929 10:35:32.827462 67529 primitive.h:252] Enlarge limit: 5 max iter:5 ne: 28473335 aabbs: 2189670 Compress ratio: 0.923097 Time: 12.904 ms
I0929 10:35:32.827502 67529 rt_engine.cu:397] Building AS, num prims: 2189670, Required Temp Size: 166759168 Output Size: 81927680
I0929 10:35:32.847823 67529 primitive.h:252] Enlarge limit: 5 max iter:5 ne: 25564755 aabbs: 2586841 Compress ratio: 0.898812 Time: 13.827 ms
I0929 10:35:32.847841 67529 rt_engine.cu:397] Building AS, num prims: 2586841, Required Temp Size: 197006208 Output Size: 96787456
I0929 10:35:32.854604 67529 lsi_rt.h:50] queries: 28473335
I0929 10:35:32.854633 67529 rt_engine.h:159] Parm size: 176
I0929 10:35:32.854647 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 28473335,1,1
I0929 10:35:32.956319 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:32.956327 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 29345959,1,1
I0929 10:35:33.027635 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:33.027642 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 28007655,1,1
I0929 10:35:33.111546 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:33.111557 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 253434,1,1
I0929 10:35:33.143807 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:33.143817 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 139420,1,1
I0929 10:35:33.146136 67529 lsi.h:22] Queue size: 247 MB
I0929 10:35:33.147253 67529 uniform_grid.h:148] Creating the uniform grid, resolution: 2048, Size: 112 MB
I0929 10:35:33.152637 67529 uniform_grid.h:207] Total Edges in the grid: 55273774, Size: 421 MB
I0929 10:35:33.484580 67529 run_overlay.cu:43] LSI passed check
I0929 10:35:33.484584 67529 run_overlay.cu:48] Checking point in polygon
I0929 10:35:33.484865 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:33.484872 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 29345959,1,1
I0929 10:35:35.972851 67529 run_overlay.cu:112] Map: 0 passed check
I0929 10:35:35.976042 67529 run_overlay.cu:48] Checking point in polygon
I0929 10:35:35.976212 67529 rt_engine.h:159] Parm size: 152
I0929 10:35:35.976222 67529 rt_engine.cu:554] optixLaunch, [w,h,d] = 28007655,1,1
I0929 10:35:36.337761 67529 run_overlay.cu:112] Map: 1 passed check
I1010 14:24:10.521587 1923710 lsi.h:22] Queue size: 247 MB
I1010 14:24:10.536015 1923710 primitive.h:252] Enlarge limit: 3.5 max iter:5 ne: 28473335 aabbs: 4573423 Compress ratio: 0.839379 Time: 13.434 ms
I1010 14:24:10.536060 1923710 rt_engine.cu:397] Building AS, num prims: 4573423, Required Temp Size: 348296704 Output Size: 171113856
I1010 14:24:10.562707 1923710 primitive.h:252] Enlarge limit: 3.5 max iter:5 ne: 25564755 aabbs: 4626115 Compress ratio: 0.819043 Time: 14.353 ms
I1010 14:24:10.562728 1923710 rt_engine.cu:397] Building AS, num prims: 4626115, Required Temp Size: 352309632 Output Size: 173085312
I1010 14:24:10.576611 1923710 lsi_rt.h:50] queries: 28473335
I1010 14:24:10.576643 1923710 rt_engine.h:159] Parm size: 176
I1010 14:24:10.576656 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 28473335,1,1
I1010 14:24:10.642813 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:10.642822 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 29345959,1,1
I1010 14:24:10.697036 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:10.697042 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 28007655,1,1
I1010 14:24:10.773605 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:10.773617 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 253434,1,1
I1010 14:24:10.805459 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:10.805467 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 139420,1,1
I1010 14:24:10.807425 1923710 lsi.h:22] Queue size: 247 MB
I1010 14:24:10.808539 1923710 uniform_grid.h:148] Creating the uniform grid, resolution: 2048, Size: 112 MB
I1010 14:24:10.813922 1923710 uniform_grid.h:207] Total Edges in the grid: 55273774, Size: 421 MB
I1010 14:24:11.144965 1923710 run_overlay.cu:43] LSI passed check
I1010 14:24:11.144973 1923710 run_overlay.cu:48] Checking point in polygon
I1010 14:24:11.145262 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:11.145269 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 29345959,1,1
I1010 14:24:13.598826 1923710 run_overlay.cu:112] Map: 0 passed check
I1010 14:24:13.604203 1923710 run_overlay.cu:48] Checking point in polygon
I1010 14:24:13.604372 1923710 rt_engine.h:159] Parm size: 152
I1010 14:24:13.604382 1923710 rt_engine.cu:554] optixLaunch, [w,h,d] = 28007655,1,1
I1010 14:24:13.964532 1923710 run_overlay.cu:112] Map: 1 passed check
Timing results:
- Read map 0: 13016.6 ms
- Read map 0: 1493.5 ms

- Read map 1: 12886.9 ms
- Read map 1: 911.009 ms

- Create Context: 4345.31 ms
- Create Context: 4591.69 ms

- Create App: 0.674009 ms
- Create App: 4.86398 ms

- Init: 128.234 ms
- Init: 145.257 ms

- Build Index: 40.0481 ms
- Build Index: 54.0321 ms

- Intersection edges: 101.433 ms
- Intersection edges: 65.9189 ms

- Map 0: Locate vertices in other map: 71.4681 ms
- Map 0: Locate vertices in other map: 54.373 ms

- Map 1: Locate vertices in other map: 37.802 ms
- Map 1: Locate vertices in other map: 29.5849 ms

- Computer output polygons: 79.9539 ms
- Computer output polygons: 80.091 ms

- Check result: 3207.3 ms
- Check result: 3173.67 ms

Loading

0 comments on commit d84762a

Please sign in to comment.