I can assist, but need to know a bit more information.....is the chainsaw is the only item absorbing power from your engine during the cut cycle, and if it is not, what else are you using? ie are you going to have a hydraulic ram lowering the saw, or a manual system? Will you use the same pump to work the splitting ram by taking turns with the chainsaw?(with 23 horsepower, that is probably the best option). Are you talking American gallons or imperial? (I assume American?)
The maximum recommended horsepower for a .404 chain is 50 h.p, but 23h.p is still alot faster than your faithful huskey, or whatever!! A 23 hp saw (.404pitch) at recommended revs will cut a 9"dia log in just over 1 second (80 square inches a second)
Achieving the recommended chain speed, also depends on the sprocket. The minimum recommended .404 chain speed is 15 m/sec or 3,000 ft/min, and the maximum, (and recommended) speed is 40 m/sec or 8,000 ft/min.
The largests commonly available .404 sprocket, in New Zealand at least, is a #14 tooth, and to achieve the recommended speed (40m/sec or 8,000 ft/min, you need 8,352 rpm on the saw shaft.
This is too fast for a standard hydraulic motor, although you can buy bent axis motors that are purpose built for this rpm (parker f-11 & f-12 series), but they are quite expensive. So some use a standard gear pump at maximum revs, and put up with a slightly slower cut, or you can use a chain drive to the saw shaft to speed the saw shaft up, such as a small duplex chain.
All motors have a flow per revolution so you can easily do the maths to work out how fast the motor will go with a certain flow.
However, there there are some variables to work through, such as do you wish to direct drive the pump off the motor?