Should I use a GFCI or AFCI circuit breaker with knob and tube wiring?
Arc-Fault Circuit Interrupter (AFCI)
An arc-fault circuit interruption device is designed to detect dangerous arcing within the protected circuit, and open (turn off) the circuit to prevent damage caused by the arcing.  It does this using special circuitry to analyse the electrical characteristics of the circuit, looking for characteristics that match specific pre-programmed values. If the AFCI detects suspicious goings on, it opens the circuit.
AFCI breakers are typically combination devices, meaning they also provide similar overcurrent and short-circuit protection to a standard breaker.
Installing a combination AFCI breaker on a circuit containing knob and tube wiring would be a great idea, and could potentially prevent a fire.
Ground-Fault Circuit Interrupter (GFCI)
Ground-fault circuit interruption devices are designed to detect ground-faults, and open (turn off) the circuit when a ground-fault is detected.  They work by using a current transformer (CT) to detect current imbalances between the ungrounded (hot), and grounded (neutral) conductors of a circuit. This blog entry might help you understand how GFCI devices work.
GFCI breakers are typically combination devices, meaning they also provide similar overcurrent and short-circuit protection to a standard breaker.
Installing a GFCI breaker on a circuit containing knob and tube wiring, probably won't provide any benefit. GFCI devices are designed to prevent electrocution, not to protect the wiring.
Combination AFCI GFCI Circuit Breakers
Circuit breakers that provide AFCI, GFCI, overload, and overcurrent protection are becoming more widely available.  If you can find them for your panel (and afford therm), these would be the best option.