Date: Sun, 10 Oct 1999 19:26:07 +0100 From: Tony Finch <dot@dotat.at> To: current@freebsd.org Subject: Re: {a}sync updates (was Re: make install trick) Message-ID: <E11aNfb-000JMH-00@fanf.eng.demon.net> In-Reply-To: <199910092134.BAA04136@tejblum.pp.ru> References: <000d01bf11b1$5bfca1f0$021d85d1@youwant.to>
next in thread | previous in thread | raw e-mail | index | archive | help
I have noticed similarly odd behaviour from softupdates during heavy IO load, where something is creating lots of little files or directories and not much else is happening. Using `vmstat 1` I can see that softupdates isn't very good at evening out the IO rate over time: there's a roughly sinusoidal back-and-forth between frantic disk thrashing (lots of TPS) and lots of syscall activity. Visible progress is correspondingly uneven. For example, the `vmstat 1` output while the script for i in `jot 256` do for j in `jot 256` do mkdir -p $i/$j done done is running is appended below. Behaviour is much smoother during an `rm -r *` of the resulting directory tree. Tony. -- f.a.n.finch dot@dotat.at fanf@demon.net Apache Software Foundation Member procs memory page disks faults cpu r b w avm fre flt re pi po fr sr da0 fd0 pa0 in sy cs us sy id 2 1 0 4183836 11172 3389 0 0 0 3188 0 273 0 0 512 6015 1210 71 29 0 1 1 0 4183836 11172 447 0 0 0 444 0 427 0 0 667 3198 1128 93 7 0 1 1 0 4183836 11172 411 0 0 0 408 0 459 0 0 699 3424 1039 89 11 0 1 1 0 4183836 11172 428 0 0 0 425 0 469 0 0 713 3430 1039 96 4 0 2 0 0 4183832 11112 3544 0 0 0 3285 0 296 0 0 535 6820 990 67 32 1 3 0 0 4184036 11084 10155 0 0 0 9427 0 60 0 0 298 14837 1026 45 55 0 2 0 0 4184044 11092 7856 0 0 0 7292 0 0 0 0 242 12077 1013 52 48 0 3 0 0 4183588 11216 13700 0 0 0 12718 0 0 0 0 239 18826 960 26 74 0 3 0 0 4184056 11116 12824 0 0 0 11880 0 5 0 0 245 17635 977 35 65 0 2 0 0 4183836 11164 8604 0 0 0 8011 0 1 0 0 242 12450 1008 55 45 0 2 1 0 4183900 11168 5770 0 0 0 5386 0 189 0 0 428 9073 1241 57 43 0 1 1 0 4183836 11168 497 0 0 0 489 0 472 0 0 712 3006 1107 91 9 0 1 2 0 4183496 11136 502 0 0 0 483 0 577 0 0 829 3449 1059 88 12 0 1 1 0 4183496 11156 1444 0 0 0 1365 0 538 0 0 779 4620 1049 86 14 0 3 0 0 4183248 11120 11937 0 0 0 11068 0 107 0 0 344 16580 892 22 78 0 2 0 0 4183308 11132 15356 0 0 0 14213 0 1 0 0 241 20742 979 18 82 0 3 0 0 4183704 11048 12665 0 0 0 11713 0 0 0 0 239 17461 990 28 72 0 2 0 0 4183492 11092 10878 0 0 0 10126 0 21 0 0 259 15238 986 45 55 0 2 0 0 4183496 11112 12151 0 0 0 11276 0 50 0 0 289 16767 982 28 72 0 2 1 0 4183496 11144 422 0 0 0 425 0 510 0 0 756 2444 1217 84 16 0 1 1 0 4183496 11100 475 0 0 0 462 0 575 0 0 820 3299 1131 87 13 0 1 1 0 4183496 11092 1024 0 0 0 976 0 550 0 0 792 4130 1049 88 12 0 3 0 0 4183648 11104 7254 0 0 0 6747 0 291 0 0 530 11196 949 53 47 0 2 1 0 4183768 11140 12570 0 0 0 11678 0 5 0 0 249 17381 1002 33 67 0 2 0 0 4183832 11028 13877 0 0 0 12846 0 7 0 0 249 18952 986 25 75 0 2 0 0 4183648 11028 12263 0 0 0 11400 0 16 0 0 259 16964 1015 38 62 0 3 0 0 4183768 11036 11108 0 0 0 10353 0 5 0 0 244 15567 1017 32 68 0 3 0 0 4183836 10952 5932 0 0 0 5539 0 190 0 0 429 9087 1153 55 45 0 2 1 0 4183836 10900 475 0 0 0 459 0 542 0 0 782 2865 1257 91 9 0 1 2 0 4183768 10936 766 0 0 0 749 0 562 0 0 809 3732 1219 87 13 0 1 1 0 4184312 10900 853 0 0 0 803 0 557 0 0 799 4189 1142 90 10 0 2 0 0 4184124 10812 11847 0 0 0 10971 0 101 0 0 340 16642 969 29 71 0 2 0 0 4184520 10720 8599 0 0 0 7976 0 6 0 0 244 13098 1065 48 52 0 2 0 0 4184312 10732 7968 0 0 0 7410 0 5 0 0 242 12228 1034 50 49 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11aNfb-000JMH-00>