The length of your beer line has a lot to do with how foamy your beer will get.
The PSI you are using from your CO2 should match the pressure of your beer line. The total resistance should equal the desired level of carbonation. If your kegged beer is carbonated to 10 to 14 psi (pounds per square inch), the total resistance of all the tubing between the keg and the tap should equal 10 to 14 pounds.
■3/16″ ID vinyl tubing = 3 psi/ft
■1/4″ ID vinyl tubing = 0.85 psi/ft
■3/16″ ID Polyethylene tubing = 2.2 psi/ft
■1/4″ ID Polyethylene tubing = 0.5 psi/ft
Beer Smith Blog about Keg Line Length