You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bcf...@googlegroups.com
SMART Board Notebook gallery is very slow loading on linux over an NFS share. Using strace I was able to track down that it's indexing system is very very poor over NFS. I put in a ticket with Smart Technology and they acknowledged the problem but were not willing to do anything about it. (Gotta love closed source apps). I resolved the issue by symlinking the indexes onto a tmpfs file system. Below are two scripts that will auto-patch the indexes at login. Given that /tmp is mounted as a tmpfs in /etc/fstab.
====================================== /etc/xdg/autostar/sd73-fast-gallery.desktop ====================================== [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Fast Gallery Comment=SD73 Fast Gallery - moves SMART Notebook gallery cache files to /tmp to fix NFS loading bug. Exec=/usr/local/bin/sd73-fast-gallery Terminal=false Type=Application NoDisplay=true
====================================== /usr/local/bin/sd73-fast-gallery ====================================== #!/bin/sh # fix slow SMART Notebook Gallery by moving cache files to /tmp # Author: Dean M. # Date: Sept 17, 2012
# User has run notebook and it has created a Gallery folder. if [ ! -h "$CONF/Gallery" ]; then if [ -d "$CONF/Gallery" ]; then if [ -d "$CONF/Gallery/My Content" ]; then cd "$CONF/Gallery/My Content/" cp * ../../GalleryContent/ cd $HOME rm -fr "$CONF/Gallery" fi fi fi
if [ ! -d "$TMP" ]; then mkdir -p $TMP ln -s "$HOME/$CONF/GalleryContent" "$TMP/My Content" if [ ! -h "$CONF/Gallery" ]; then rm -fr "$CONF/Gallery" ln -s $TMP "$CONF/Gallery" fi fi