40m is a long hose for a little compressor, what type of gun are you running on it, Finish gun or framing gun, these compressors are not suitable for framing guns, they can't handle the amount of air required.
I would be first checking for small leaks on all your joins, shorten the hose, cant see why you need 40m for home use, longest hose I have is 20m, never had a need for any longer 1/4 hose is also small, my ones are all 3/8., I have a small Maxus compressor for little things, it works perfectly well with my finish guns and staplers, but would not bother putting the framing gun on it, I have a bigger compressor for that.
You can also adjust at what pressure the compressor cuts in, you may need to adjust this to cut in quicker.