Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # is it possible to read triplie.db to RAM? considering the read/write to it?
- rm botdata/triplie.db; make bootstrap
- wget -N http://www.gutenberg.org/cache/epub/11/pg11.txt; ./feed_text.sh pg11.txt
- du -h botdata/triplie.db
- 3.1M botdata/triplie.db
- ./triplie
- 4280 words, 34190 relations, 135938 associations in database.
- ifconfig eth0|grep 'RX bytes'
- RX bytes:833499384 (833.4 MB) TX bytes:665681189 (665.6 MB)
- 02:19 <@user> triplie: have you seen a white rabbit with pink eyes?
- 02:23 -!- triplie [~triplie@localhost] has quit [Ping timeout]
- ifconfig eth0|grep 'RX bytes'
- RX bytes:2220422158 (2.2 GB) TX bytes:1093689231 (1.0 GB)
- mount -tnfs
- 192.168.0.100:/shared on /mnt/nfs type nfs (rw,sync,noac,timeo=7,addr=192.168.0.100)
- # workaround
- sudo mkdir -p /mnt/ram; sudo chmod a+w /mnt/ram; sudo mount -tramfs -oremount,size=10m ramfs /mnt/ram; cp botdata/triplie.db /mnt/ram
- ./triplie -d /mnt/ram/triplie.db
- 06:49 <@user> triplie: have you seen a white rabbit with pink eyes?
- 06:49 < triplie> user: at her, and she went on : '--that begins with an m? ' said the white rabbit hurried by--the
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement