[MDEV-9947] COM_MULTI united response Created: 2016-04-19 Updated: 2016-05-19 Resolved: 2016-05-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.2.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 10.2.1-1, 10.2.1-2 | ||||||||||||
| Description |
|
Put all OK packets in one physical packet. |
| Comments |
| Comment by Oleksandr Byelkin [ 2016-05-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
revision-id: 7e70658d1e88b4a255e3c28426f8259e5e596a85 (mariadb-10.2.0-20-g7e70658)
— | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-05-11 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
So I made such test: send in one COM_MULTI 50 following group of 3 statement:
then read response I run 5 times test with my patch then 5 times without and then 3 times with and without (just to be sure that result is stable): With the patch (s):
without the patch (s):
so it is 32% gain on 127.0.0.1 tcp connection. Server and test was compiled without debug info (for server all 4 times, client was compiled only once). client: the test function is:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-05-11 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
there is problem in above test in case repeat1 = 100 (fixed in the connector by Georg) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-05-14 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
revision-id: 8022548d2dd3ea4beef58a0613cc0f6a9d9e70be (mariadb-10.2.0-20-g8022548)
— | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2016-05-17 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ok to push |