[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2017-03-03T10:03:13+00:00 https://parallella.org/forums/feed.php?f=9&t=608 2017-03-03T10:03:13+00:00 2017-03-03T10:03:13+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=18639#p18639 <![CDATA[Re: Configuring parallela for a DB project]]> https://github.com/jmathai/epiphany

Statistics: Posted by Mukti — Fri Mar 03, 2017 10:03 am


]]>
2013-09-08T22:00:37+00:00 2013-09-08T22:00:37+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3775#p3775 <![CDATA[Re: Configuring parallela for a DB project]]>
When you include delays in the networking stack to get data on and off the systems then such tiny latencies usually don't really matter.

And there is no way that a Parallella could compete with a tricked out PC (I got an 4GHz 8-core with 256SSD +32GB RAM for about $1000 wholesale), let alone server grade hardware (I've got blades at work that can take 24 32GB DIMMs... and you can get 1U SAN devices filled with TBs of flash if you have enough money).

I was more thinking along the lines of this....

Say you need to create a lookup catalogue for 100M book names, authors and ISBN numbers (maybe 200 bytes per book - for 20GB of data). If you were to try this in a database you would create a table with an index on it. When you feed a name it will navigate down through the index blocks, requiring a random read at each level, and then finally down to the data block with the name, author, ISBN and other stuff. To read a record might take 5 or 6 I/Os.

One other possibility would be to use an on-disk hash table. Hash the book name into a number between 0 and 32GB-1, then issue a single 128K read at the 1 byte prior to the hash value. If the records are stored as null terminated strings somewhere immediately on or as soon as possible after the hash value then you just start scanning sequentially in the block at that address for the name. When you see two null bytes in a row you know you are done (not found).

All the indexing work is done upfront, nearly any record can be found by book name with just one I/O (exceptions being for hashes where the reads wrap around the table, or an awfully common or lots of hash collisions (in which case you should move to a hash with a larger range, or a better hash)).

Even if you do fail to find it in the first block, it then becomes a streaming sequential read....

Statistics: Posted by hamster — Sun Sep 08, 2013 10:00 pm


]]>
2013-09-08T10:49:11+00:00 2013-09-08T10:49:11+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3770#p3770 <![CDATA[Re: Configuring parallela for a DB project]]> Fastest is SRAM, next fastest DRAM, then disks.
SRAM is too expensive and disks too slow in most cases.
Therefor most databases use lots of DRAM - 100G or more is not uncommon depending on size of your workset.
Parallella has 1G only.
On the other hand 32G is cheap to get for standard PC hardware.
Easy to see why a PC is better choice, isn't it?

Next is disk.
Making Parallella a good database system requires fast "disk" - or external RAM.
1ms is typical for SD (card not reader) - some exceptional are doing 700-800us, but are low bandwidth.
Way to slow to concur with DRAM - especially if DRAM even has the size of your whole SD card.
You can get faster with better read time or more parallism.
SD can't do any of them.

Raw NAND chips have much better random access time.
One datasheet I have says 75us.
And they are multibanked allowing parallel access within chip - even more with multiple chips.
The reason why SD are slow is that they are cheap and small.
For example to transfer a logical block into a physical location you need to know where it is placed.
You can either cache this or read from flash.
Reading means additional 75us for each indirection.
SD cards are made for cameras running FAT and big picture files.
Linear read and write is what is required there.
Linear prereading adds 75us blocking time for next request.
If you compare measurement results you will notice that fast SD cards have higher read latency than slow cards.
A SSD is also prereading but has multiple ECC blocks allowing to read from other banks at the same time.

Statistics: Posted by ticso — Sun Sep 08, 2013 10:49 am


]]>
2013-09-08T05:24:23+00:00 2013-09-08T05:24:23+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3768#p3768 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by hamster — Sun Sep 08, 2013 5:24 am


]]>
2013-09-08T01:36:11+00:00 2013-09-08T01:36:11+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3765#p3765 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by Gravis — Sun Sep 08, 2013 1:36 am


]]>
2013-09-08T00:07:48+00:00 2013-09-08T00:07:48+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3762#p3762 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by ticso — Sun Sep 08, 2013 12:07 am


]]>
2013-09-07T05:59:28+00:00 2013-09-07T05:59:28+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3751#p3751 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by hamster — Sat Sep 07, 2013 5:59 am


]]>
2013-09-06T05:37:07+00:00 2013-09-06T05:37:07+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3730#p3730 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by Gravis — Fri Sep 06, 2013 5:37 am


]]>
2013-09-06T00:55:31+00:00 2013-09-06T00:55:31+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3727#p3727 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by hamster — Fri Sep 06, 2013 12:55 am


]]>
2013-09-06T00:19:33+00:00 2013-09-06T00:19:33+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3725#p3725 <![CDATA[Re: Configuring parallela for a DB project]]> Statistics: Posted by Gravis — Fri Sep 06, 2013 12:19 am


]]>
2013-09-05T22:47:20+00:00 2013-09-05T22:47:20+00:00 https://parallella.org/forums/viewtopic.php?t=608&p=3721#p3721 <![CDATA[Configuring parallela for a DB project]]> Statistics: Posted by exa — Thu Sep 05, 2013 10:47 pm


]]>