1Pat the beef cubes dry and season with the salt if using. Heat the olive oil in a heavy pot over medium-high heat and brown the beef for 5 to 6 minutes until well coloured on all sides.
2Lower the heat to medium, add the chopped onion and cook for 6 minutes until soft.
3Stir in the garlic, tomato paste and allspice and cook for 1 minute.
4Add 1.2 litres water, bring to a boil, then cover and simmer on low for 50 minutes until the beef is tender.
5Break the spaghetti into halves, add it to the pot and stir well. Simmer uncovered for 10 to 12 minutes, adding a splash of water if needed, until the pasta is tender and the broth is thick.
6Serve hot in deep bowls with grated parmesan on top if using.