People rarely (never) service the compressors until they are already making noise - which is what you are hearing. The oil in the compressor gets tacky then it makes a knocking sound. My E38 (same compressor) has a relatively loud one. You can service it and have new oil added, which may help. Certainly can't hurt. Otherwise - replacement. Im going to let mine knock all it wants until it dies.