summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/transport/ChangeLog5
-rw-r--r--runtime/transport/transport.c4
-rw-r--r--runtime/transport/transport.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
index a604c568..1c94b0e4 100644
--- a/runtime/transport/ChangeLog
+++ b/runtime/transport/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-05 Tom Zanussi <zanussi@us.ibm.com>
+
+ * transport.c (_stp_transport_open): Add kbug message.
+ * transport.h: Change default n_subbufs to 16.
+
2005-09-08 Martin Hunt <hunt@redhat.com>
* procfs.c (_stp_register_procfs): Change ifdefs to eliminate
diff --git a/runtime/transport/transport.c b/runtime/transport/transport.c
index fdd91078..e8d2112d 100644
--- a/runtime/transport/transport.c
+++ b/runtime/transport/transport.c
@@ -175,7 +175,7 @@ void _stp_transport_close()
int _stp_transport_open(struct transport_info *info)
{
- kbug ("stp_transport_open: %d byte buffer. target=%d\n", info->buf_size, info->target);
+ kbug ("stp_transport_open: %d Mb buffer. target=%d\n", info->buf_size, info->target);
info->transport_mode = _stp_transport_mode;
kbug("transport_mode=%d\n", info->transport_mode);
@@ -196,6 +196,8 @@ int _stp_transport_open(struct transport_info *info)
_stp_unregister_procfs();
return -ENOMEM;
}
+ kbug ("stp_transport_open: %u Mb buffers, subbuf_size=%u, n_subbufs=%u\n",
+ info->buf_size, subbuf_size, n_subbufs);
} else
#endif
{
diff --git a/runtime/transport/transport.h b/runtime/transport/transport.h
index 78221c39..e5e087a2 100644
--- a/runtime/transport/transport.h
+++ b/runtime/transport/transport.h
@@ -13,7 +13,7 @@ void _stp_warn (const char *fmt, ...);
#define STP_BUFFER_SIZE 8192
#ifdef STP_RELAYFS
-static unsigned n_subbufs = 4;
+static unsigned n_subbufs = 16;
static unsigned subbuf_size = 65536;
#define _stp_transport_write(data, len) _stp_relay_write(data, len)
static int _stp_transport_mode = STP_TRANSPORT_RELAYFS;