search for: miscalculation

Displaying 20 results from an estimated 116 matches for "miscalculation".

2005 May 04
4
HTB rate miscalculation
Hi, I''ve migrated my tc configuration from CBQ to HTB. One problem appeared. Htb seems to miscalculate the bandwidth for classes with greater rates. For rates below 2Mbit there is almost no difference between the configured and the measured rate. For large ones the problem starts. My root class has 10Mbit rate and when the interface has heavy trafic the measured bandwidth
2005 Dec 16
1
Miscalculation in a comment in dsl_dataset.h
Line 71 of http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h#dsl_dataset_phys says uint64_t ds_pad[8]; /* pad out to 256 bytes for good measure */ But that padding actually increases dsl_dataset_phys to 320 bytes total; the structure is already 256 bytes without the padding. This message posted from opensolaris.org
2011 Jan 04
0
Queues, priorities and (miscalculated) holdtimes
Anyone ever noticed that the reported holdtime is wrong when there are different priorities? Also talktime is 0, but for the moment I don't care. "queue show test" reports: test has 23 calls (max unlimited) in 'ringall' strategy (193s holdtime, 0s talktime) [...] Callers: 1. Local/351 at default-8828;2 (wait: 3:32, prio: 15) 2. Local/351 at default-8361;2
2015 Jan 07
0
[PATCH] vhost/net: length miscalculation
Hello. On 01/07/2015 11:55 AM, Michael S. Tsirkin wrote: > commit 8b38694a2dc8b18374310df50174f1e4376d6824 > vhost/net: virtio 1.0 byte swap > had this chunk: > - heads[headcount - 1].len += datalen; > + heads[headcount - 1].len = cpu_to_vhost32(vq, len - datalen); > This adds datalen with the wrong sign, causing guest panics. > Fixes:
2015 Jan 07
0
[PATCH] vhost/net: length miscalculation
Hello. On 01/07/2015 11:55 AM, Michael S. Tsirkin wrote: > commit 8b38694a2dc8b18374310df50174f1e4376d6824 > vhost/net: virtio 1.0 byte swap > had this chunk: > - heads[headcount - 1].len += datalen; > + heads[headcount - 1].len = cpu_to_vhost32(vq, len - datalen); > This adds datalen with the wrong sign, causing guest panics. > Fixes:
2015 Jan 07
3
[PATCH] vhost/net: length miscalculation
commit 8b38694a2dc8b18374310df50174f1e4376d6824 vhost/net: virtio 1.0 byte swap had this chunk: - heads[headcount - 1].len += datalen; + heads[headcount - 1].len = cpu_to_vhost32(vq, len - datalen); This adds datalen with the wrong sign, causing guest panics. Fixes: 8b38694a2dc8b18374310df50174f1e4376d6824 Reported-by: Alex Williamson <alex.williamson at redhat.com>
2015 Jan 07
3
[PATCH] vhost/net: length miscalculation
commit 8b38694a2dc8b18374310df50174f1e4376d6824 vhost/net: virtio 1.0 byte swap had this chunk: - heads[headcount - 1].len += datalen; + heads[headcount - 1].len = cpu_to_vhost32(vq, len - datalen); This adds datalen with the wrong sign, causing guest panics. Fixes: 8b38694a2dc8b18374310df50174f1e4376d6824 Reported-by: Alex Williamson <alex.williamson at redhat.com>
2017 Apr 17
2
Patch: Fix isohybrid.c tool under Windows platforms
...on descendants of > Unix and DOS, then one should in any case add "b" to the fopen(3) mode > string. > > Not only MBR writing but also reading of the Primary Volume Descriptor > and of the El Torito catalog by isohybrid.c are currently prone to > unwanted CR-insertion. Miscalculations can be caused by this. Is there anything that can be done in order to reduce such chances of miscalculation and/or unwanted insertion of (CR) characters? > > The fopen() call for reading external MBR code (option -m) already has "b". > > The old perl code contains a...
2010 Aug 03
1
snapshot space - miscalculation?
zfs get all claims that i have 523G used by snapshot. i want to get rid of it. but when i look at the space used by each snapshot i can''t find the one that can occupy so much space daten/backups used 959G - daten/backups
2012 Jun 24
2
Power calculation using pwr.t.test()
Dear R experts, I have conducted a power calculation in order to estimate the number of subjects needed to detect an effect size of d=0.28 (cohen's d) for a difference between two independent groups (alpha level should be 0.05 and the effect should be detected with 80% probability). The results from the code below indicates that I would need n=400 subjects (200 in each group). This is seems
2017 Apr 10
3
Patch: Fix isohybrid.c tool under Windows platforms
Hi all, As part of a bigger effort to port the ISOLINUX hybrid mode to ReactOS, I've encountered a bug in isohybrid under Windows platforms. Attached comes a patch to fix it. Precisely, if isohybrid currently finds a 0x0A (LF) byte in the MBR code (which exists in the strings), it adds a 0x0D (CR) before, thereby shifting the MBR bytes to the right and making it invalid. This can be fixed by
2017 Feb 02
2
Specify special cases of delay slots in the back end
Hello. I see there is little information on specifying instructions with delay slots. So could you please tell me how can I insert NOPs (BEFORE or after an instruction) or how to make an aware instruction scheduler in order to avoid miscalculations due to the delay slot effect? More exactly, I have the following constraints on my (SIMD) processor: - certain stores or loads, must be executed 1 cycle after the instruction generating their input operands ends. For example, if I have: R1 = R2 + R3 LS[R10] = R1...
2008 Aug 03
3
Questions on cpu frequency scaling AMD vs. Intel
I've been playing and comparing frequency scaling between AMD and Intel CPUs yesterday and there seem to be great differences between AMD and Intel and some gotchas. This is all on CentOS 5.2 with latest Xen kernels (which are supposed to be powersaving-enabled since 5.2). AMD: It seems once I get the AMD CPU to use the ondemand governor it works very well and very efficiently. But this
2017 Apr 17
0
Patch: Fix isohybrid.c tool under Windows platforms
Hi, i wrote: > > Not only MBR writing but also reading of the Primary Volume Descriptor > > and of the El Torito catalog by isohybrid.c are currently prone to > > unwanted CR-insertion. Miscalculations can be caused by this. I have to correct myself: Carriage Return characters (byte value 13 = 0x0d) are not at risk to be inserted, but rather to be removed if they happen to be followed by a New Line character (value 10 = 0x0a). So for example the block address bytes 0d 0a 00 00 (= 2573 decimal)...
2006 Sep 18
1
Legend frame error (PR#9236)
Hello, The frame drawn around the legend appears to miscalculate when the x-axis decreases rather than increases. Pasted below is a simple testcase. When the x-axis decreases, the width of the legend frame appears to be calculated based on the length of the first item, rather than the maximum length of all items. Thanks, -TAG Todd A. Gibson line1=dpois(seq(0,50), 10) par(mfcol=c(2,1))
2015 Jan 08
0
[PULL] vhost: cleanups and fixes
...940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 99975cc6ada0d5f2675e83abecae05aba5f437d2: vhost/net: length miscalculation (2015-01-07 12:22:00 +0200) ---------------------------------------------------------------- virtio, vhost fixes for 3.19 This fixes a couple of bugs triggered by hot-unplug of virtio devices, as well as a regression in vhost-net. Cc: Rusty Russell <rusty at rustcorp.com.au> Signed-off-by:...
2015 Jan 08
0
[PULL] vhost: cleanups and fixes
...940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 99975cc6ada0d5f2675e83abecae05aba5f437d2: vhost/net: length miscalculation (2015-01-07 12:22:00 +0200) ---------------------------------------------------------------- virtio, vhost fixes for 3.19 This fixes a couple of bugs triggered by hot-unplug of virtio devices, as well as a regression in vhost-net. Cc: Rusty Russell <rusty at rustcorp.com.au> Signed-off-by:...
2002 May 07
1
More on ties with rank()
...999999, 0.699999999999999, 0.9, 0.9, 1.1, 1.1, 1.2, 1.3, 1.4) > rank(k) [1] 2.5 2.5 2.5 2.5 5.5 5.5 8.0 8.0 8.0 10.0 12.0 12.0 12.0 15.0 15.0 [16] 15.0 17.5 17.5 19.5 19.5 21.0 22.0 23.0 > But it strikes me as odd, that such an innocent calculation could lead to such a significant miscalculation based on rounding error. Thanks, ANDREW -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not...
2006 Mar 13
1
[R] dotchart: Gap between text and chart (PR#8681)
(Moved from r-help) On 3/13/2006 9:33 AM, Dietrich Trenkler wrote: > I have some data which I would like to display with dotchart. The > labels are very long, so the chart becomes too small. Setting cex=0.7 > seems to be a good compromise, but the gap between the text and the > chart still is too large. I did not find a "gap" parameter in the > description of dotchart...
2004 Nov 11
1
Ogg spec
Hi, I'm currently trying to implement the Ogg specification in pure Java from scratch. (I know, something like that does exist, but that's a rewrite from C, at least that's my impression). I'm a bit confused with the number of lacing values/segments in a page, and the maximum length a page can have. The specification says, that there can be 255 segments in a page, 255 bytes each