Skip to contentSkip to conversation

app/test: reduce lpm test case size

PATCH Bruce Richardson 1 participant 2 messages Sep 26, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · Wei Dai

remove large file app/test/test_lpm_routes.h and add code to auto-generate similar large route rule talbe which keeps same depth and IP class distribution as previous one in test_lpm_routes.h .
With the rule table auto-generated at run time, the performance of looking up keep similar to that from pervious constant talbe.

Quoted 8 lines
---
 app/test/test_lpm.c        |       2 +-
 app/test/test_lpm_perf.c   |     268 +-
 app/test/test_lpm_routes.h | 1076861 -----------------------------------------
 3 files changed, 266 insertions(+), 1076865 deletions(-)
 delete mode 100644 app/test/test_lpm_routes.h

Hi,

thanks for the work to shrink our release size! Since this patch is so huge due to the deleted file, can you please use "-D" flag when running "git format-patch" to generate any subsequent versions of this.

Thanks,
/Bruce

#2 lore raw
Quoted 18 lines · Bruce Richardson
Quoted 8 lines · Wei Dai

remove large file app/test/test_lpm_routes.h and add code to auto-generate similar large route rule talbe which keeps same depth and IP class distribution as previous one in test_lpm_routes.h .
With the rule table auto-generated at run time, the performance of looking up keep similar to that from pervious constant talbe.

Quoted 8 lines
---
 app/test/test_lpm.c        |       2 +-
 app/test/test_lpm_perf.c   |     268 +-
 app/test/test_lpm_routes.h | 1076861 -----------------------------------------
 3 files changed, 266 insertions(+), 1076865 deletions(-)
 delete mode 100644 app/test/test_lpm_routes.h
Quoted 6 lines

Hi,

thanks for the work to shrink our release size! Since this patch is so huge due to the deleted file, can you please use "-D" flag when running "git format-patch" to generate any subsequent versions of this.

Also, since this patch is so big, it didn't make it to the list or patchwork. Please regenerate using "git format-patch -D" and resubmit.

Thanks,
/Bruce