search for: block_dump

Displaying 11 results from an estimated 11 matches for "block_dump".

Did you mean: _block_dump
2011 Oct 09
1
Btrfs High IO-Wait
...0.00 3.40 3.40 3.40 sdb 0.00 27.80 0.00 48.20 0.00 318.40 13.21 0.43 8.84 0.00 8.84 1.99 9.60 iodump shows similar results, where sdb is the data disk, sda7 the journal and sda5 the root. btrfs root@s-brick-003:~# echo 1 > /proc/sys/vm/block_dump root@s-brick-003:~# while true; do sleep 1; dmesg -c; done | perl /usr/local/bin/iodump ^C# Caught SIGINT. TASK PID TOTAL READ WRITE DIRTY DEVICES btrfs-submit-0 8321 28040 0 28040 0 sdb ceph-osd 8514 15...
2005 Apr 13
3
Constant disk activity
Hi, I am running centos on a laptop and the HD keeps on making noises every so often, even when I go to runlevel 1 and stop everything that could be doing so (hotplug, smartd, cron, anacron, atd, syslogd...). Is there any way of finding out what is accessing the disk? Not only it shortens battery life, it is annoying while working in a quiet room. Thanks Gabriel Send instant messages to your
2006 Feb 04
0
Ext3 IO context
...ystem write will correspond to block I/O in the process context. Is that how ext3 works. I am not very familiar with kjournald functionality - is that thread meant to initiate I/O just for metadata updates or for data updates as well ? I figured out the process context for I/Os using sysctl -w vm.block_dump='1' which throws debug messages into kern.log. Please cc pradeep.vincent at gmail.com Thanks, Pradeep Vincent
2012 May 10
1
Logging file activity
On windows I use filemon, it tells me every file operation and its result. I have search high and low, but cannot seem to find an alternative. I tried the instructions from http://ubuntuforums.org/showthread.php?p=2415252#post2415252 ... echo 1 > /proc/sys/vm/block_dump while true; do dmesg -c; sleep 1; done; ... But that only tells me block level info I straced the parent process and all children, but that does not always tell me the full atempted path [pid 17410] open("perfStats.log", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = -1 EACCES (Permiss...
2005 Apr 20
0
Ext2 metadata and disk seeks
...the needed information (and not hit the disk at all while iterating through the list of files). What's puzzling me though is the poor performance of this approach (not even near the 26 MB/s mark). Reading the inodes is indeed fast, but reading the directory blocks is not. Using /proc/sys/vm/block_dump logging, I verified that the blocks are read sequentially, with some gaps in between. A typical sequence of reading the directory blocks will look like this: READ block 21249176 on dm-0 READ block 21249184 on dm-0 READ block 21249192 on dm-0 READ block 21249200 on dm-0 READ bl...
2011 Apr 01
15
btrfs balancing start - and stop?
Hi, My company is testing btrfs (kernel 2.6.38) on a slave MySQL database server with a 195Gb filesystem (of which about 123Gb is used). So far, we''re quite impressed with the performance. Our database loads are high, and if filesystem performance wasn''t good, MySQL replication wouldn''t be able to keep up and the slave latency would begin to climb. This though, is
2012 Feb 08
8
[XCP] Install to Flash Media
Well, now that I''ve figured out that network booting XCP is not really going to be feasible, I''m moving on to my next option: flash media installation. The systems that I purchased have SDHC slots on them, so I figured I''d attempt to install XCP to one of these cards. I had already read that there''s a minimum disk size in the installer (apparently 12 GB in
2013 Dec 30
2
oom situation
...Pages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 10232 kB DirectMap2M: 901120 kB sysctl: vm.oom_dump_tasks = 0 vm.oom_kill_allocating_task = 1 vm.panic_on_oom = 1 vm.admin_reserve_kbytes = 8192 vm.block_dump = 0 vm.dirty_background_bytes = 0 vm.dirty_background_ratio = 10 vm.dirty_bytes = 0 vm.dirty_expire_centisecs = 3000 vm.dirty_ratio = 20 vm.dirty_writeback_centisecs = 500 vm.drop_caches = 0 vm.highmem_is_dirtyable = 0 vm.hugepages_treat_as_movable = 0 vm.hugetlb_shm_group = 0 vm.laptop_mode = 0 vm...
2013 Apr 05
0
btrfs insane I/O amplification?
...ck group 82036391936 has an wrong amount of free space [ 33.546612] btrfs: failed to load free space cache for block group 82036391936 [ 33.552208] block group 83110133760 has an wrong amount of free space [ 33.552210] btrfs: failed to load free space cache for block group 83110133760 etc. block_dump said, during the problem: [83609.668785] btrfs-transacti(726): WRITE block 78521360 on dm-3 (112 sectors) [83609.668811] btrfs-transacti(726): WRITE block 78259328 on dm-3 (128 sectors) [83609.668814] btrfs-transacti(726): WRITE block 78521472 on dm-3 (128 sectors) [83609.668834] btrfs-submit-1(69...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...ed, * go through the normal accounting stuff before submission. */ if (bio_has_data(bio) && !(rw & REQ_DISCARD)) { if (rw & WRITE) { count_vm_events(PGPGOUT, count); } else { task_io_account_read(bio->bi_size); count_vm_events(PGPGIN, count); } if (unlikely(block_dump)) { char b[BDEVNAME_SIZE]; printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n", current->comm, task_pid_nr(current), (rw & WRITE) ? "WRITE" : "READ", (unsigned long long)bio->bi_sector, bdevname(bio->bi_bdev, b), count);...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...ed, * go through the normal accounting stuff before submission. */ if (bio_has_data(bio) && !(rw & REQ_DISCARD)) { if (rw & WRITE) { count_vm_events(PGPGOUT, count); } else { task_io_account_read(bio->bi_size); count_vm_events(PGPGIN, count); } if (unlikely(block_dump)) { char b[BDEVNAME_SIZE]; printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n", current->comm, task_pid_nr(current), (rw & WRITE) ? "WRITE" : "READ", (unsigned long long)bio->bi_sector, bdevname(bio->bi_bdev, b), count);...