delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.2 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 27 Feb 2013 18:40:11 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1212475491.20130227184011@mtu-net.ru> |
To: | All <cygwin AT cygwin DOT com> |
Subject: | Is there a source of moderately random data with good speed in Cygwin? |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Greetings, All! I was writing some test scripts, and hit an... issue. At one stage, I was need to pipe some bytes through application and watch it's reaction. But with /dev/urandom the stream speed is only about 40Mb/sec. Using /dev/zero, however, makes it 3 orders of magnitude faster (~35Gb/s), but for technical reasons, using monotonous sequence is highly undesirable. Is there any more performant source of non-monotonous byte sequences available to Cygwin? I would be pretty happy even with sequential bytes, I think. Only two reservations are good performance (something around 100 Mb/sec or more would suffice) and a degree of randomness. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 27.02.2013, <18:31> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |