home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10862 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  3.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!news.u-tokyo.ac.jp!yayoi!tansei1!mhiroshi
  2. From: mhiroshi@tansei.cc.u-tokyo.ac.jp (H. Murakami)
  3. Newsgroups: comp.unix.bsd
  4. Subject: [386bsd] Queries for the new scsi driver.
  5. Message-ID: <3813@tansei1.tansei.cc.u-tokyo.ac.jp>
  6. Date: 3 Jan 93 09:48:59 GMT
  7. Sender: news@tansei.cc.u-tokyo.ac.jp
  8. Organization: Hokkaido Univ. However I am subject to tansei for JUNET.
  9. Lines: 96
  10.  
  11. To: comp.unix.bsd
  12. Subject: [386bsd] Queries for the new scsi driver.
  13.  
  14. I tried the Julian new scsi driver.
  15.  
  16. However, before I use the aha1542 specific new-scsi driver,
  17. I was able to use two partition on one disk drive for the swap like:
  18.  
  19.     config   "386bsd"    root on as0 swap on as0b and as0e
  20.  
  21. And both as0b and as0e were working fine even they are on the identical drive.
  22.  
  23. After I put the new scsi driver,
  24. in the configuration file for the kernel, 
  25. I removed many unused drivers to save the kernel size 
  26. by commenting out like:
  27.  
  28.     #options     NFS
  29.     #disk     wd1     at wd0 drive 1
  30.     #device we0 at isa ....
  31.     #device ne0 at isa ..
  32.     #device ec0 at isa ..
  33.     #device is0 at isa ..
  34.     #pseudo-device ddb
  35.  
  36. for the swap partition I made the line like:
  37.  
  38.     config   "386bsd"    root on sd0 swap on sd0b and sd0e
  39.  
  40. My current problem with this julian new scsi driver system is,
  41.  
  42. the kernel built does not add the partition sd0e for the swap area. 
  43. The "swapon /dev/sd0e" makes error message saying that 
  44.     
  45.     adding swap: failed! (unchanged)
  46.     swapon: /dev/sd0e Device not configured
  47.  
  48. Note, I have the line in the file /etc/fstab like:
  49.  
  50.     /dev/sd0e - swap sw - -
  51.  
  52. This kind of trouble never happened when I used the old scsi driver.
  53. What is the reason that I cannot assign /dev/sd0e  for swap ?
  54.  
  55. You might think that I should not use two swap reagion on one drive,
  56. however I have a good reason for that.
  57. Sometimes, I just use /dev/sd0b of size 50MB for the swap, and
  58. /dev/sd0e of size 1.0GB for the file system by using newfs
  59. to work with many files.
  60. And sometimes I would like to use both /dev/sd0b and /dev/sd0e to
  61. enable the large virtual memory as large as a giga bytes.
  62. (However I find many trouble to extend the virtual memory of that
  63. size or a few hundred meg, I still making struggle for that.)
  64.  
  65. BTW.
  66.     What is the advantage of the new scsi driver 
  67.     compared the old scsi drivers ?
  68.     Was the old scsi driver not using DMA transfer
  69.     but program data transfer?
  70.     It seems the data transfer rate measured by the dd command
  71.         /usr/bin/time dd if=/dev/rsd0h of=/dev/null ibs=512x88
  72.     did not speed up compared with that of old scsi driver.
  73.     (comparision is made with only one swap partition system.
  74.     rsd0h is about 300MB large to reduce the effect of the caching.)
  75.     The jumper of the adaptec 1542b card is to use the syncronos
  76.     negotiation mode.
  77.     CPU is 486DX 33MHz, AMI bios 256K cache 16MB Dram, 
  78.     IDA card + adaptec 1542B.
  79.     The scsi disk is Fujitsu's 1.6GB, 11mS, 10MB/Sec peak, SCSI-2 disk.
  80.     It has 512bytes/sector, 88 sectors/track, and 90 rotation/sec means,
  81.     it the data transfer is made ideally, its sustained transfer rate
  82.     is about 4MB/sec, but dd give the number around 1MB/sec.
  83.     (Is 1:1 interleave degrades the performance of the disk?
  84.      When I purchased the disk, the disk was formatted for MAC,
  85.      and I do not know what is the current interleave factor of
  86.      the disk now. )
  87.  
  88. PS.
  89.     What is the meaning of the message given at the boot time by the
  90.     new scsi driver;
  91.  
  92.         aha0 reading board settings, 150 nSEC ok, use 200 nSEC
  93.     ** aha0 probing for scsi devices **
  94.     dev0,lu0: type 0(direct),fixed 'FUJITSU M2652S-512     008P' scsi2
  95.     sd0: 1651MB, cyls 1944, heads 20, secs 87, bytes/sec 512
  96.  
  97.     Why it drops from 150 nS to 200nS (and what is the meaning of 150nS)?
  98.     Does this relate to the disk trasfer rate?
  99.  
  100.         Hiroshi Murakami
  101.         mhiroshi@tansei.cc.u-tokyo.ac.jp
  102.         hiroshi@teine.chem2.hokudai.ac.jp
  103.  
  104. PS2.
  105.     What is the virtue of ddb ?
  106. Sorry for the buggy English.
  107.