{"push_id":1053807276,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c82a03e46df644b0fd55b16c9b8a782032b25066","before":"e7bd4335713171c1ad633bea65ffbf22b5a3b51c","commits":[{"sha":"c82a03e46df644b0fd55b16c9b8a782032b25066","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@ient.net","name":"Alex Domnitskiy"},"message":"  zram: remove zram->lock in read path and change it with mutex\n\nFinally, we separated zram->lock dependency from 32bit stat/ table\nhandling so there is no reason to use rw_semaphore between read and\nwrite path so this patch removes the lock from read path totally and\nchanges rw_semaphore with mutex.  So, we could do\n\nold:\n\n  read-read: OK\n  read-write: NO\n  write-write: NO\n\nNow:\n\n  read-read: OK\n  read-write: OK\n  write-write: NO\n\nThe below data proves mixed workload performs well 11 times and there is\nalso enhance on write-write path because current rw-semaphore doesn't\nsupport SPIN_ON_OWNER.  It's side effect but anyway good thing for us.\n\nWrite-related tests perform better (from 61% to 1058%) but read path has\ngood/bad(from -2.22% to 1.45%) but they are all marginal within stddev.\n\n  CPU 12\n  iozone -t -T -l 12 -u 12 -r 16K -s 60M -I +Z -V 0\n\n  ==Initial write                ==Initial write\n  records: 10                    records: 10\n  avg:  516189.16                avg:  839907.96\n  std:   22486.53 (4.36%)        std:   47902.17 (5.70%)\n  max:  546970.60                max:  909910.35\n  min:  481131.54                min:  751148.38\n  ==Rewrite                      ==Rewrite\n  records: 10                    records: 10\n  avg:  509527.98                avg: 1050156.37\n  std:   45799.94 (8.99%)        std:   40695.44 (3.88%)\n  max:  611574.27                max: 1111929.26\n  min:  443679.95                min:  980409.62\n  ==Read                         ==Read\n  records: 10                    records: 10\n  avg: 4408624.17                avg: 4472546.76\n  std:  281152.61 (6.38%)        std:  163662.78 (3.66%)\n  max: 4867888.66                max: 4727351.03\n  min: 4058347.69                min: 4126520.88\n  ==Re-read                      ==Re-read\n  records: 10                    records: 10\n  avg: 4462147.53                avg: 4363257.75\n  std:  283546.11 (6.35%)        std:  247292.63 (5.67%)\n  max: 4912894.44                max: 4677241.75\n  min: 4131386.50                min: 4035235.84\n  ==Reverse Read                 ==Reverse Read\n  records: 10                    records: 10\n  avg: 4565865.97                avg: 4485818.08\n  std:  313395.63 (6.86%)        std:  248470.10 (5.54%)\n  max: 5232749.16                max: 4789749.94\n  min: 4185809.62                min: 3963081.34\n  ==Stride read                  ==Stride read\n  records: 10                    records: 10\n  avg: 4515981.80                avg: 4418806.01\n  std:  211192.32 (4.68%)        std:  212837.97 (4.82%)\n  max: 4889287.28                max: 4686967.22\n  min: 4210362.00                min: 4083041.84\n  ==Random read                  ==Random read\n  records: 10                    records: 10\n  avg: 4410525.23                avg: 4387093.18\n  std:  236693.22 (5.37%)        std:  235285.23 (5.36%)\n  max: 4713698.47                max: 4669760.62\n  min: 4057163.62                min: 3952002.16\n  ==Mixed workload               ==Mixed workload\n  records: 10                    records: 10\n  avg:  243234.25                avg: 2818677.27\n  std:   28505.07 (11.72%)       std:  195569.70 (6.94%)\n  max:  288905.23                max: 3126478.11\n  min:  212473.16                min: 2484150.69\n  ==Random write                 ==Random write\n  records: 10                    records: 10\n  avg:  555887.07                avg: 1053057.79\n  std:   70841.98 (12.74%)       std:   35195.36 (3.34%)\n  max:  683188.28                max: 1096125.73\n  min:  437299.57                min:  992481.93\n  ==Pwrite                       ==Pwrite\n  records: 10                    records: 10\n  avg:  501745.93                avg:  810363.09\n  std:   16373.54 (3.26%)        std:   19245.01 (2.37%)\n  max:  518724.52                max:  833359.70\n  min:  464208.73                min:  765501.87\n  ==Pread                        ==Pread\n  records: 10                    records: 10\n  avg: 4539894.60                avg: 4457680.58\n  std:  197094.66 (4.34%)        std:  188965.60 (4.24%)\n  max: 4877170.38                max: 4689905.53\n  min: 4226326.03                min: 4095739.72\n\nChange-Id: I59cc9c518bdeddb5b82f1b43aa674291161626bf\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nCc: Nitin Gupta <ngupta@vflare.org>\nTested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nCc: Jerome Marchand <jmarchan@redhat.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/alexey6600/kernel_sony_tetra_3/commits/c82a03e46df644b0fd55b16c9b8a782032b25066"}]}