A method to sense pH of a fluid and an optical pH sensor. A method includes depositing a carbon-containing layer on a substrate and transforming the carbon-containing layer to remove at least some of the carbon. The processor includes an arbitration mechanism that controls load and store requests to the L2 cache memory.