A compression-ignition engine comprising: a piston that is internally inserted in a cylinder of the engine and configured to move back and forth in the cylinder; a fuel injection valve that is disposed on a top surface of a combustion chamber formed by the cylinder and the piston, and configured to inject fuel spray along an injection axis; a turbocharger that is mounted on the engine and configured to boost intake air by exhaust energy of the engine; a measuring unit (SN1 to SN12) that is configured to output a measurement signal in accordance with various parameters relating to operation of the engine; and a controller (10, 19) that is configured to receive the measurement signal of the measuring unit (SN1 to SN12), output a control signal to the fuel injection valve in accordance with an operational state defined by a speed and/or a load of the engine, and increase an injection pressure of the fuel when a total injection amount of the fuel injected to the combustion chamber during one combustion cycle increases, wherein the piston comprises a lower cavity provided in a central portion of a top surface of the piston in a radial direction, an upper cavity that is provided around the lower cavity and is shallower than the lower cavity, and a lip portion between the lower cavity and the upper cavity, the controller is configured to cause the fuel injection valve to execute a main injection and at least one pilot injection in an earlier period than the main injection when the engine operates in a first state and/or a second state in which the speed is higher than the speed in the first state, the main injection and the pilot injection distribute the fuel spray to the lower cavity and the upper cavity by directing the injection axis to the lip portion in at least one part of an injection period, and the controller is configured to increase an injection amount per pilot injection when the engine operates in the second state as compared to when the engine operates in the first state, characterized in that the controller is configured to reduce a number of the pilot injections when the engine operates in the second state as compared to a number of the pilot injections when the engine operates in the first state. a piston that is internally inserted in a cylinder of the engine and configured to move back and forth in the cylinder; a fuel injection valve that is disposed on a top surface of a combustion chamber formed by the cylinder and the piston, and configured to inject fuel spray along an injection axis; a turbocharger that is mounted on the engine and configured to boost intake air by exhaust energy of the engine; a measuring unit (SN1 to SN12) that is configured to output a measurement signal in accordance with various parameters relating to operation of the engine; and a controller (10, 19) that is configured to receive the measurement signal of the measuring unit (SN1 to SN12), output a control signal to the fuel injection valve in accordance with an operational state defined by a speed and/or a load of the engine, and increase an injection pressure of the fuel when a total injection amount of the fuel injected to the combustion chamber during one combustion cycle increases, wherein the piston comprises a lower cavity provided in a central portion of a top surface of the piston in a radial direction, an upper cavity that is provided around the lower cavity and is shallower than the lower cavity, and a lip portion between the lower cavity and the upper cavity, the controller is configured to cause the fuel injection valve to execute a main injection and at least one pilot injection in an earlier period than the main injection when the engine operates in a first state and/or a second state in which the speed is higher than the speed in the first state, the main injection and the pilot injection distribute the fuel spray to the lower cavity and the upper cavity by directing the injection axis to the lip portion in at least one part of an injection period, and the controller is configured to increase an injection amount per pilot injection when the engine operates in the second state as compared to when the engine operates in the first state, characterized in that the controller is configured to reduce a number of the pilot injections when the engine operates in the second state as compared to a number of the pilot injections when the engine operates in the first state.