[SERVER-12787] Strange performance characteristics of write ops in shell Created: 19/Feb/14 Updated: 10/Dec/14 Resolved: 04/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Davide Italiano |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Running these two cases shows some unexpectedly huge discrepancy in run time:
raw smoke.py: 4697 ms
raw smoke.py: 4769 ms |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 04/Mar/14 ] |
|
duplicate of |
| Comment by Davide Italiano [ 04/Mar/14 ] |
|
https://github.com/mongodb/mongo/commit/24f85cdfdba1db685f4da499d8fcb77385e57da7 fixes the regression, and I'm positive this can be closed, if renctan agrees. You can see that in the screenshot attached. |
| Comment by Davide Italiano [ 03/Mar/14 ] |
|
Looks roughly the same to me. Let's wait for the other ticket to be resolved and see if this is fixed as well before marking a duplicate, IMHO. |
| Comment by Daniel Pasette (Inactive) [ 03/Mar/14 ] |
|
Isn't this |
| Comment by Davide Italiano [ 03/Mar/14 ] |
|
I'm able to reproduce the behavior in my mongo-perf testing, on a scenario where empty documents are inserted in batch in a sharded cluster. Some numbers: It's possible that the size of document could be a significant factor in the test – but I haven't tried to change it. |