The larger the entrance pupil is, the narrower the depth of field is.

The smaller, i.e. the closest to an ideal pinhole camera, the wider the depth of field is. A an ideal pinhole camera has infinite depth of field.

Unfortunately the aperture f numbers are the wrong way round; larger numbers correspond to smaller diameters.