The compression ratio may be driven by cold starting requirements but still, an engine with a 17:1 compression ratio is going to trend towards having higher thermal efficiency than one with 9:1 compression. Supposedly there is an optimum balance between heat losses (gets worse with high compression) and theoretical cycle efficiency (gets better with high compression) somewhere near 14:1 but the drop-off with increasing compression beyond that is nowhere near the drop-off with lowering compression below that.
Anyhow, there is still a fundamental problem. Sparks are used for igniting mixtures of vaporized fuel and air (within a certain range of lambda that is ignitable by spark). Heavy (low volatility and high viscosity) fuels are resistant to vaporizing. In a diesel engine, they tend to form a mist of fine droplets which, when mixed in air that is above the ignition temperature, each individually burn on the surface of the droplet until it is gone. There is a trend nowadays towards intentionally delaying ignition until after a certain fraction of the droplets have actually vaporized (and this requires compression ratios lower than the historical norm - and closer to that 14:1 apparent optimum range). But these are still compression-ignition engines.
Compression ignition engines use one of two methods of ignition when the fuel doesn't want to ignite (cold starting): Glow plugs, or pre-heating the intake air. The function of pre-heating the intake air should be obvious. Glow plugs work by locally raising the temperature above the ignition temperature so that any fuel droplets that come near them have a chance to ignite. Glow plugs are glowing throughout the whole combustion process (and in fact, through the whole engine cycle, in which they also serve to preheat the intake air). Sparks only are present for microseconds. That's enough to ignite intimately-mixed fuel vapor, but unreliable for droplet mists.
Basically, spark ignition of diesel fuel doesn't work very well (if at all), and glow-plug ignition of gasoline doesn't work very well (if at all).
If you are building a compression-ignition engine, what's wrong with using glow plugs (or intake air preheaters)? Why do you want to do it the hard (if not impossible) way by using sparks? What's the proposed advantage? Glow plugs work. Intake air preheaters also work.