[SERVER-14817] benchRun calls auth() on every operation Created: 07/Aug/14  Updated: 18/Aug/14  Resolved: 08/Aug/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.7.4
Fix Version/s: 2.7.5

Type: Bug Priority: Minor - P4
Reporter: Davide Italiano Assignee: Davide Italiano
Resolution: Done Votes: 0
Labels: 28qa, pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux localhost.localdomain 3.13.9-200.fc20.x86_64 #1 SMP Fri Apr 4 12:13:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

And there's no need to do that. It severely impacts scalability because
authenticate command is logged and the logger might become a bottleneck if
multiple threads try to access it at the same time.

#s: (unpatched)

1 thread: 14177.85 (ops/s)	
2 threads: 27198.45	
4 threads: 48374.13333	
8 threads: 78860.23333	
12 threads: 116294.25	
16 threads: 123072.05

(patched)

1 threads: 16046.31667
2 threads: 29108.03333
4 threads: 53512.1
8 threads: 88220.1
12 threads: 141151.7333
16 threads: 185534.95



 Comments   
Comment by Githook User [ 08/Aug/14 ]

Author:

{u'username': u'dcci', u'name': u'Davide Italiano', u'email': u'davide.italiano@10gen.com'}

Message: SERVER-14817 fixed benchRun so that it does not call auth() on every operation.

Closes #733

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/efd7c52925f0d2030fa7462b358d7b8faffe5b4c

Comment by Davide Italiano [ 07/Aug/14 ]

Pull request: https://github.com/mongodb/mongo/pull/733

Generated at Thu Feb 08 03:36:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.