A man once investigated over the murder of Corryn Rayney has been sentenced over a string of charges including the vicious bashing of a woman but could walk free next month despite being at high risk of reoffending.

Allon Lacco was once questioned over the murder of Corryn Rayney.

He was sentenced to 20 months jail, but with parole, and time already served, Allon Mitchell Lacco could be out of jail next month.

Lacco faced the Perth Magistrates Court on Friday morning on eight charges including one count of common assault in circumstances of aggravation and one count of unlawful assault causing bodily harm.

The court heard Lacco inflicted 12 blows on a woman at a house in Bassendean in September 2015.