search for: 65539

Displaying 17 results from an estimated 17 matches for "65539".

Did you mean: 65536
2017 Aug 14
4
Help creating the IBM Randu function
Dear all, I am trying to learn functions in R and 3D plotting so I decided to try to plot the famous bad PRNG Randu from IBM(1). However something is not correct in the function I have created. First I define the function RANDU like this: > RANDU <- function(num) { return (65539*num)%%(2^31) } and test that it works for a seed of 1: > RANDU(1) [1] 65539 but if I want the next value in the sequence I get this number. > (65539*65539)%%(2^31) [1] 393225 However using the RANDU function twice doesn't give the same result as above. > RANDU(RANDU(1)) [1] 4295360...
2017 Aug 14
0
Help creating the IBM Randu function
Hi Martin, The corrected function would be RANDU <- function(num) { return ((65539*num)%%(2^31)) } You forgot the brackets for the return function. Hence, what was returned was always (65539 * num) On Mon, Aug 14, 2017 at 12:49 PM, Martin M?ller Skarbiniks Pedersen <traxplayer at gmail.com> wrote: > Dear all, > > I am trying to learn functions in R and 3D plot...
2017 Aug 14
0
Help creating the IBM Randu function
...rying to learn functions in R and 3D plotting so I decided to try > to plot > the famous bad PRNG Randu from IBM(1). > However something is not correct in the function I have created. > First I define the function RANDU like this: > >> RANDU <- function(num) { return (65539*num)%%(2^31) } > > and test that it works for a seed of 1: >> RANDU(1) > [1] 65539 > > but if I want the next value in the sequence I get this number. >> (65539*65539)%%(2^31) > [1] 393225 > > However using the RANDU function twice doesn't give the same resul...
2019 Nov 12
1
IMAP session hangs on 8k-long commands if COMPRESS=DEFLATE is enabled
...ere, Dovecot 2.3.7 appears to hang when the client sends a long command after enabling the IMAP COMPRESS extension [RFC 4978]. PoC script attached along with the doveconf(1) output. Without COMPRESS=DEFLATE, and with the default ?imap_max_line_length? value (64k) I'm able send commands up to 65539 bytes long (that's 3 bytes more than 2??, so maybe the leading tag and the trailing CRLF aren't counted), after which Dovecot rightfully replies with tagged BAD responses. $ COMPRESS=n /tmp/many-fetch.pl 65539 [?] C: x UID FETCH 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1...
2019 Mar 12
4
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...0 0 PCI-MSI 65536-edge virtio0-config 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 ... ... In above case, there is one msix vector per queue. This is because the max number of queues is not limited by the number of possible cpus. By default, nvme (regardless about...
2019 Mar 12
4
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...0 0 PCI-MSI 65536-edge virtio0-config 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 ... ... In above case, there is one msix vector per queue. This is because the max number of queues is not limited by the number of possible cpus. By default, nvme (regardless about...
2019 Mar 27
6
[PATCH 0/2] Limit number of hw queues by nr_cpu_ids for virtio-blk and virtio-scsi
...set, there is per-queue interrupt. # cat /proc/interrupts 24: 0 0 PCI-MSI 65536-edge virtio0-config 25: 0 0 PCI-MSI 65537-edge virtio0-control 26: 0 0 PCI-MSI 65538-edge virtio0-event 27: 296 0 PCI-MSI 65539-edge virtio0-request 28: 0 139 PCI-MSI 65540-edge virtio0-request 29: 0 0 PCI-MSI 65541-edge virtio0-request 30: 0 0 PCI-MSI 65542-edge virtio0-request # ls /sys/block/sda/mq 0 1 2 3 ------------------------------...
2019 Mar 13
2
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...-MSI 65536-edge virtio0-config >> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 >> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 >> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 >> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 >> ... ... >> >> In above case, there is one msix vector per queue. > > Please note that this is pci-specific... > >> >> >> This i...
2019 Mar 13
2
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...-MSI 65536-edge virtio0-config >> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 >> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 >> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 >> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 >> ... ... >> >> In above case, there is one msix vector per queue. > > Please note that this is pci-specific... > >> >> >> This i...
2019 Mar 12
0
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...0 PCI-MSI 65536-edge virtio0-config > 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 > 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 > 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 > 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 > ... ... > > In above case, there is one msix vector per queue. Please note that this is pci-specific... > > > This is because the max number of queues is no...
2019 Mar 14
0
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...0 PCI-MSI 65536-edge virtio0-config > 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 > 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 > 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 > 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 > ... ... > > In above case, there is one msix vector per queue. > > > This is because the max number of queues is not limited by the number of > possible cp...
1998 Jun 04
1
Slow writes continued
...e speed of reads. This only seems to affect Win95 clients (NT machines are fine). Doing a write of a 20mb file to the server generates the following message: chdir to /int-data/amx_resources 1998/06/04 14:58:49 write fnum=56 cnum=119 num=16 wrote=16 1998/06/04 14:58:49 Transaction 10834 of length 65539 switch message SMBwritebraw (pid 1646) chdir to / chdir to /int-data/amx_resources 1998/06/04 14:58:49 writebraw1 fnum=56 cnum=119 start=19922944 num=65475 wrote=6 5475 sync=0 1998/06/04 14:58:49 writebraw2 fnum=56 cnum=119 start=19922944 num=45 wrote=6552 0 1998/06/04 14:58:49 Transaction 10835 of...
2019 Mar 13
0
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...virtio0-config > >> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 > >> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 > >> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 > >> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 > >> ... ... > >> > >> In above case, there is one msix vector per queue. > > > > Please note that this is pci-specific... > &g...
2019 Mar 15
0
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...;>>>> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 >>>>> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 >>>>> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 >>>>> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 >>>>> ... ... >>>>> >>>>> In above case, there is one msix vector per queue. >>>> Please note that this is...
2006 May 25
7
Grouping controllers
I''m grouping controllers to avoid cluttering the top-level namespace. First, I used script/generate Admin::Customers new edit show list and then I used script/generate Admin::Providers new edit show list. The generator created the subfolders correctly: I have an admin folder and inside there''s customer_controller.rb and provider_controller.rb. I have the same structure in
2019 Mar 14
4
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...tio0-config >>>> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 >>>> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 >>>> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 >>>> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 >>>> ... ... >>>> >>>> In above case, there is one msix vector per queue. >>> >>> Please note that this is pci-sp...
2019 Mar 14
4
virtio-blk: should num_vqs be limited by num_possible_cpus()?
...tio0-config >>>> 25: 2 0 0 0 PCI-MSI 65537-edge virtio0-req.0 >>>> 26: 0 35 0 0 PCI-MSI 65538-edge virtio0-req.1 >>>> 27: 0 0 32 0 PCI-MSI 65539-edge virtio0-req.2 >>>> 28: 0 0 0 0 PCI-MSI 65540-edge virtio0-req.3 >>>> ... ... >>>> >>>> In above case, there is one msix vector per queue. >>> >>> Please note that this is pci-sp...